Archived topic
Using layout Content/Sidebar with Dev site library - not getting expected result
1 reply · Started by Robin on August 21, 2020
I have created a site by importing Dev from your Site Library. I am now trying to create a page with the layout of Content / Sidebar, which I expect to roughly have the same layout as the Blog page from Dev.
However the page that I create with this same layout (Content / Sidebar) is very wide and does not look anything like the Blog page's layout.
It appears that the page div contains the class grid-container.
<div class="hfeed site grid-container container grid-parent">
This class adds max-width: 100% and I think this is what causes the layout to not match the Blog page. If I disable the max-width in dev tools then the layout looks like what I would expect.
How can I create a page, with the layout of Content / Sidebar, that has the same layout look of the Blog page?
Thank you
Hi there,
Try adding that newly created page under the Exclusion rule of this element:
https://www.screencast.com/t/ZRGTWj2XuZb
https://docs.generatepress.com/article/layout-element-overview/
Let me know if this helps :)