Archived topic
Fixed width container not working
5 replies · Started by Christopher on October 21, 2021
I have set the width of my content container to 1200px, however, when I publish the page, it is full width (no matter the screen size).
I've tried everything to get it to not extend to the (almost) edges of the screen (It's still contained and has margin).
Inspecting the CSS settings in Chrome it appears that this CSS script is the one causing the issue:
.container.grid-container {
width: auto;
}
Found in the main.min.css?ver=3.0.4 css file.
I've tried everything on the Wordpress side to find and disable whatever is generating that, but haven't been successful. I'm sure it's right in front of my eyes, but can you help me?
Hi there,
Any chance you can link us to the site in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Seems there's a setting in the plugin made the max container width to 100%(full width), it overrides the customizer option:
https://www.screencast.com/t/lZlLMt0U
Can you check?
Thanks, Ying. I just disabled the 'Post and Page Builder' plugin (which comes pre-installed / activated in WP) and it seems to have solved the problem! Thank you!
You are welcome :)
Glad it works now!