[Resolved] Unwanted Horizontal Scroll

Home Forums Support [Resolved] Unwanted Horizontal Scroll

Home Forums Support Unwanted Horizontal Scroll

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1135507
    Andy

    Hi,
    I’m getting some unwanted horizontal scroll which can be fixed using overflow-x:hidden; but was hoping to fix the root cause.

    Any help appreciated.

    #1135630
    Leo
    Staff
    Customer Support

    Hi there,

    It’s likely the align full block you are using in the first section.

    Can you try removing it and see if it helps?

    If so you can consider using the header element module instead.

    If not the overflow-x:hidden; is the only solution we are aware of unfortuantely.

    #1135914
    Andy

    It was indeed the full-width block, decided to just use the overflow-x fix.

    #1136226
    Leo
    Staff
    Customer Support
    #1177619
    Andy

    Unfortunately, I’m getting the same issue with another site I’m building and overflow-x:hidden; doesn’t seem to be working. I’ve edited the URL for this thread with the new one.

    #1177700
    David
    Staff
    Customer Support

    Hi there,

    any particular page ? Can’t see it in browser tools

    #1177707
    Andy

    The home page is the only one with a cover block and using alignfull so should only be able to see it there. I double-checked in a private browser session and can definitely see a small amount of horizontal scroll in all browsers.

    #1177749
    Leo
    Staff
    Customer Support

    I can see the horizontal scroll on home page.

    However, when I add this CSS using browser inspector:

    body {
        overflow-x: hidden;
    }

    The issue is fixed.

    #1177757
    Andy

    Thank you, I had tried applying the CSS to the cover block itself, adding it to the body did the trick.

    Could you please remove your screenshot now, thanks.

    #1177841
    Leo
    Staff
    Customer Support
Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.