Contain width issue
-
when I define container layout to full width it shows scrollbar on the bottom of page? how to fix it
-
Hi there,
The full align option is actually defined by your theme, and in many themes, it will cause a horizontal scroll issue.
This issue would occur for any WP blocks that’s set to align full, you can test with a WP cover block, set it to align full, does the same issue occur? If so, please contact your theme support for this issue.
Meanwhile, you can use this CSS to hide the overflow content:
body,html { overflow-x:hidden; }Actually this occur only that page where container width set to full, otherwise all other pages have no problem. I am using GeneratePress premium theme.
Hi Balendu,
That WordPress fullwidth option can be problematic in most, if not all, themes.
What we would advise is to set the page to Full width instead. Then, place Container Blocks to have contained sections. Reference: https://docs.generatepress.com/article/content-container/
I have defined page width full and kept container block width wide then this is what I am seeing – https://app.screencast.com/ZhNTdWa87vIpB
And, with same scenario when I a kept container width full then this what I am seeing – https://app.screencast.com/I8lorG4jA6tzW
Can you set the page to full width and remove the full-width alignment setting from all Container Blocks or any other Blocks on the page?
There are three types of options available (default, wide, full) in the container layout section, and at any point in time, one of the options is active. in such case, I am seeing this – https://app.screencast.com/ZhNTdWa87vIpB without a scrollbar at the bottom of the page.
But it doesn’t looks good when I give background color to the container.
-
This reply was modified 2 years, 6 months ago by
Balendu.
You can set the page to full width using the layout metabox: https://docs.generatepress.com/article/layout-metabox-overview/#where-is-it
Once that’s done, all GB blocks are full width by default, you do NOT need to activate that FULL WIDTH option.
Hi there! We haven’t heard back from you for a while now so we’re going to go ahead and set this topic as resolved. Feel free to open a new topic if you need assistance with anything else GB free related.
-
This reply was modified 2 years, 6 months ago by
The topic ‘Contain width issue’ is closed to new replies.