Site logo

Archived topic

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

3 replies · Started by Jon on June 18, 2020

Viewing posts 1–4 of 4

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!

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.

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.

Glad to be of help

This archived topic is closed to new replies.