Archived topic
Genereteblocks full-width container overflow problem
1 reply · Started by Rostyslav on May 17, 2022
Hello,
When I add a full width container https://ibb.co/VCL95Zk overflow X appears. How can I solve it?
Is there another way to solve it instead of using this code?:
body {
overflow: hidden;
}
Thanks!
(website on private area)
Hi there,
The Align full is an option added by WP, but it's not a good way to create full width container, the CSS it uses always creates horizontal scroll issue.
The better way to achieve this is to set the content container of the page to full width, you can use the layout metabox in the page editor: https://docs.generatepress.com/article/layout-metabox-overview/#where-is-it
Once the page is set to full width, the outer container of GB container will be full width by default.