Contents
Within the sidebar, the left tab features the settings for the entire Page or Post you’re working on. The right tab is focused on the individual Block selected. Themes and plugins may alter which settings appear in your sidebar. Screenshot of the Status and Visibility Section.
To remove your sidebar from a single static page – such as your Home, About, or Blog page – you’ll want to start by checking to see if your theme includes a full-width template. To do this, navigate to the page you want to remove the sidebar from. In the Page Attributes section, look for a full-width option in the Template drop-down menu:
Where is the page / post settings sidebar in WordPress?
The Post/Page Sidebar (also called Document Settings) is part of the WordPress Editor on pages and posts. Located on the right side of the Editor screen, this panel is used to customize key aspects of the content being published. New in WordPress 5.6: The tab is now labeled Post, Page or whatever Custom Post Type is used.
In all four sidebar templates, that we’ll go through today, we will need Bootstrap 4 CSS and JS files, jQuery library, and our custom stylesheet. Also, I include Font Awesome 5 to be used on the buttons and menu items in one example. Looking for a complete Bootstrap 4 template with a cool Bootstrap sidebar nav?
As we do not know if the content will vertically fill the entire screen, we will set the minimum height of the sidebar to 100vh. vh is a CSS unit that refers to the viewport height. This means that the initial height of the sidebar will be at least equal to the screen height. Also, its height will increase when the page content would increase.
What does sidebar.active mean in Bootstrap?
On the desktops, #sidebar.active will mean that the sidebar is hidden and #sidebar only that it’s visible. It will have an opposite behavior on mobiles where #sidebar.active is when the sidebar is visible and #sidebar is hidden. The .active class has a negative margin-left value that equals to the sidebar width.
After clicking the toggle button, the sidebar will be given a .active class, and pushed out from the screen. The page content will take the full-screen width too.