[Resolved] Horizontal Overflow not solved with body {overflow-x: hidden !important; }

Home Forums Support Horizontal Overflow not solved with body {overflow-x: hidden !important; }

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1333529
    Jon

    Hi, this is my first time using GP Premium and I’m loving it, but still learning. I’ve got some horizontal overflow on mobile that doesn’t seem to be corrected by using:

    body {
    overflow-x: hidden !important;
    }

    I’m sure this is something I’m causing myself and I just haven’t figured it out yet.

    Any ideas towards fixes are appreciated!

    #1333733
    David
    Staff
    Customer Support

    Hi there,

    try this CSS:

    html,
    body {
        overflow-x: hidden;
    }

    Or you may want to fix the issue with the “You want a website that looks great …” section. You have several nested elements that have padding which is increasing the width of the element.

    #1335466
    Jon

    You’re so right, David! Thank you very much sir. I knew I had to have been shooting myself in the foot somehow. I appreciate you a great deal.

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