Show/Hide Sidebar on Pages
Many EmPress themes offer the ability to show or hide a sidebar on a static Page. Themes that offer the ability to show or hide sidebars on pages include:
- Miramar
- Presidio
- Rania
- Pearl
- Hayes
- Barton
If you choose to hide the sidebar, the content on your page will center and span the full width of the content column, like this:
If you opt to show the sidebar, the content would format similarly to this:
- IMPORTANT NOTE: In WordPress, a Page is not the same as a Category. We find it's common for new WordPress users to refer to the word "Page" when they actually mean a "category" or "archive."
- If you want to add a link to a menu that will return all posts from a particular vertical—say, fashion, or beauty—you must create categories and add those to your menu. Adding a page will simply link to a static information page. For help on creating categories, click here. For help more info on posts vs. pages, click here.
Need more help with pages?
TO SHOW/HIDE A SIDEBAR ON A PAGE
1. Navigate to the page you wish to edit by going to the Pages > All Pages tab of your WordPress dashboard.
2. In both the WordPress Block and Classic Editor, on the right side of the page editor, look for the Page Attributes box or dropdown. Then, select your preferred page template.
- Default Template means the page will display a sidebar. NOTE: in the Pearl and Hayes themes, adding a featured image will convert the default template to a two-column layout, with featured image on the left and page content on the right. For these themes, omit the featured image if you wish for your page to feature the sidebar.
- Full-Width means the page will hide the sidebar, and display the content centered across the full width of the available page container.
Here is a video of this in action:
If you are using the WordPress Block Editor, the page attributes dropdown looks like this:
3. Update/save your changes. Your page layout is now updated!