Site logo

Archived topic

how to remove the sidebar completely?

5 replies · Started by vanya on September 18, 2019

Viewing posts 1–6 of 6

Hello, I would like to remove the sidebar completely from whole website?
Also, how do I remove the right sidebar from specific post or pages?

https://prnt.sc/p7nocm

Please see the above image, I need something like this. The post and pages should be in the middle when I remove the sidebars.

The documentation which is available is little bit confusing.

Thanks

Hi there,

you can remove the Sidebars from the Customizer > Layout > Sidebars:

https://docs.generatepress.com/article/sidebar-layout-overview/

Just set pages, posts and archives to no sidebar.

If you're using Woocommerce then it has its own options in Customizer > Layout > Woocommerce ( the Woocommerce Module needs to be enabled in Appearance > GeneratePress )

To change the sidebar layout on specific posts or pages there are two options:

1. Layout Metabox in the Posts editor:
https://docs.generatepress.com/article/layout-metabox-overview/

2. Layout Element which will allow you to change the layout using Display Rules eg. Remove Sidebar on all Posts in a specific category:

https://docs.generatepress.com/article/layout-element-overview/

When I select no sidebar in specific posts or pages using Layout Metabox Overview...

The sidebar is removed; however, the content container is at his place.

My site layout is like this : https://prnt.sc/p81q2x
Please see the primary navigation and the content container is not aligned.

I need something like this : https://prnt.sc/p81pk2
See, on this site, the primary navigation and content container is aligned.

I need content container and primary navigation to be aligned with no sidebars.

The content should be centered aligned by default when sidebar is removed.

Can you link me to the page in question so I can see the issue?

Let me know :)

Yes, I will provide you the link but there is no option to share the link.
Let me create a new topic.

You can edit the original topic and use the private URL field.

This archived topic is closed to new replies.