Archived topic
grid-container class not respecting container width
1 reply · Started by Marko Jovanovic on February 26, 2020
Hi,
I'm having an issue with the grid-container class.
The site-container of the site linked below is 1920px.
If I check the site on a screen with a bigger resolution, everything's fine except the picture on the bottom of the page.
If I assign the "grid-container" class to the picture, it'll respect the max size of the container BUT it won't be centred like the rest of the site, instead it is aligned to the left. Is there a way to have it on the center like the rest of the site?
(the "grid-container" per se it is working, in this case it has something to do with that particular visual composer row).
thanks!
Davide
Hi there,
Looks like you are using Visual Composer to insert that image and it is setting its own property:
https://www.screencast.com/t/dj7KoM3N
Have you checked with their support?
When a page builder is used, our recommendation is to use the page builder container option so that you can use the page builder to handle all content container widths:
https://docs.generatepress.com/article/page-builder-container/
Let me know if this helps :)