Archived topic
Page too large
6 replies · Started by Quentin on February 4, 2023
Hello,
I just realized that I have a problem on my home page because it is a little wider than normal. As a result, I find myself with a sidebar to go from left to right.
I've looked everywhere, but I can't find a way to fix it, could you please help me?
Here is a picture to understand better:
[url=https://zupimages.net/viewer.php?id=23/05/i5lh.jpg][img]https://zupimages.net/up/23/05/i5lh.jpg[/img][/url]
Hi there,
can you share a link to that page so i can see the issue ?
bug
Yes of course it’s this page : https://malkah.fr/
The others do not have this problem
Hi there,
If you need to build any full-width pages (like the purple sections), then the content container needs to be set to full width:
https://docs.generatepress.com/article/content-container/
Then remove the alignfull option added to GB's containers:
https://www.screencast.com/t/i8sSwnyXHq2
It's added to all full width sections currently - they are not needed as long as the content container is set to full width.
Thanks for ur answer !
In fact, the page doesn't have to be full width, it's just the purple sections that I want to have full width.
I have the same sections on the other pages and I don't have this problem, hence my misunderstanding.
EDIT : And there is not this problem of too much width on mobile
Edit : I find a solution !
In fact, the page doesn’t have to be full width, it’s just the purple sections that I want to have full width.
Any full width sections would require the entire page to be full width.
Glad to hear that you've found a solution :)