- This topic has 12 replies, 2 voices, and was last updated 9 months ago by
Leo.
-
AuthorPosts
-
June 3, 2020 at 10:30 am #1312962
Oliver
Hi
On my home page I use Sections but I cannot seem to make the outer or inner container of sections full width.
It seems that the following settings do nothing:‘Box type β whether your outer section container is full width or contained.
Inner box type β whether your inner section container is full width or contained.’Presumably I’ve done something wrong. I’d be grateful if you could let me know.
Kind regards
OliJune 3, 2020 at 10:48 am #1312998Leo
StaffCustomer SupportHi there,
Can you guide me to the page where the issue can be seen?
Also I would highly recommend using our new favorite block plugin GenerateBlocks over Sections:
https://wordpress.org/plugins/generateblocks/It’s the replacement for Sections and offers much more awesome options and flexibility.
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 3, 2020 at 11:10 am #1313025Oliver
hmm really not sure if my replies are getting through….
June 3, 2020 at 11:12 am #1313029Oliver
June 3, 2020 at 11:13 am #1313032Oliver
But this is the page I’m actually trying to fix: https://fetliu.net/ I want to make the background colours (you’ll need to scroll down the page to see them) the full width of the page.
Thank you Leo
June 3, 2020 at 11:14 am #1313035Leo
StaffCustomer SupportWhat if you disable the code that’s adding the sidebar in?
By default the sidebar should be removed when Sections is activated.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 3, 2020 at 11:26 am #1313048Oliver
No sidebar now on https://fetliu.net/delete/ but still the same.
June 3, 2020 at 1:46 pm #1313193Leo
StaffCustomer SupportDo you have a layout element created that’s setting the content container width to 1480px?
https://docs.generatepress.com/article/layout-element-overview/#content-1Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 3, 2020 at 1:47 pm #1313195Oliver
Hi
Looking with Google Inspect when I click on
it has this under styles:#content {
max-width: 1480px;
margin-left: auto;
margin-right: auto;
}If I toggle off the max-width in Google Inspect it seems to fix the problem. I’ve no idea where the 1480px comes from but presumably it’s from the theme or WP Show Posts. Nor do I know how to get rid of it, if it is what’s causing problem, as I’m about at the limit of my css skills.
Can you help any further?
Thanks
OliJune 3, 2020 at 1:54 pm #1313207Leo
StaffCustomer SupportHave you checked the layout element as I mentioned here?
https://generatepress.com/forums/topic/page-sections-not-full-width/#post-1313193Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/June 3, 2020 at 1:55 pm #1313208Oliver
Apologies, I managed to miss your last message before my last reply.
The layout element was exactly the problem. It all makes sense now.
Thank you very much for your help!
Oli
June 3, 2020 at 1:56 pm #1313209Leo
StaffCustomer SupportNo problem π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.