Archived topic
Without Sidebar PAGE Width to 728px
7 replies · Started by Sumit on April 19, 2019
I want to set my (No Sidebar) PAGE Width to 728px.
please send me CSS code ASAP
Hi there,
i answered a very similar question today:
https://generatepress.com/forums/topic/content-width/#post-873239
My Blog Post (Without Sidebar) width is already set to 728px
But when I create a page (without Sidebar) then I noticed that it's width is not 728px.
So, please send me the code to set the PAGE Width to 728px.
Waiting for code...
Did you install the updated version that i mentioned in that link?
Yes, I’m using the same version.
But When I opened layout option and changed the width. Then my header also get affected and it was not looking good.
Please provide me with the CSS Code.
Last time you gave me this code for the full-width blog post. It’s working great.
body.single.no-sidebar .site.grid-container {
max-width: 728px;
}
Please provide similar code for full width PAGE
My Page URL is: https://blogginglift.com/about/
You can target the page instead of single like so:
body.page.no-sidebar .site.grid-container {
max-width: 728px;
}
Thanks David, It's working.
You're welcome