Archived topic
Containers not Full width
7 replies · Started by racheljohn on January 10, 2022
I have set the container blocks to be 1200px but no matter what I do they are not setting to that size. its weird cause my header element is correct but none of the on page containers are right ( this is effecting multiple pages but what I need to get working at the moment is the home page container widths) https://otteroo.com/
Hi there,
might be the various CSS Rules you have in your child theme, there this one which is affecting the inner container on all pages. Theres also a few page specific rules doing similar stuff above this one.
.generate-sections-container.narrow, #page .inside-article{
max-width: 800px;
margin-left: auto;
margin-right: auto;
/* ORIGINAL:
.generate-sections-container.narrow, #page .inside-article{
max-width: 700px;
margin-left: auto;
margin-right: auto; */
}
okay so that's the css that I thought it was too but I have literally removed the css and just started over with a blank child theme and still having the same issue?
I also shut off all plugins temporarily except generate-press premium and the generate blocks and generate blocks premium.
Hi there,
I've checked the 4 main pages and they're already using 1200px max-width but perhaps.
Can you link us to a sample page still affected by this?
so if you look on the home page after the first elements the blocks should span the width of the containers while the contained content inside is closer to that 1200px
so if you look on the home page after the first elements the blocks should span the width of the containers while the contained content inside is closer to that 1200px
The contents of the pages actually go full-width as far as GP customization settings are concerned.
As for the contents being contained, it's actually from the GenerateBlocks Container Block that holds them.
You have this setting on each of the Container Blocks for the contents of the home page - https://share.getcloudapp.com/p9uX7AGG
Try changing the inner content width to "Full width" as well so the contents it contains go full width. :D
Thanks for all your guys help.
No problem. :D