Archived topic
Different Container Widths
1 reply · Started by Daniel on June 21, 2020
Hi there,
Is there a way to create different container widths for the various layouts?
Right now, it uses the same container width, regardless if I'm using a full-width layout (no sidebars), or a layout with Content / Right Sidebar. So it looks like perfect size if I'm using a sidebar, but then it looks to wide if I'm not using a sidebar.
I'd like to have it where my full-width layout is around 950px, but if I'm using a Content/Right Sidebar layout, I want it at 1100 px (to accommodate the extra width needed for sidebar).
Is this possible with generate press?
Hi there,
The layout element should be what you are looking for:
https://docs.generatepress.com/article/layout-element-overview/#content-1
Let me know if this helps :)