Streaming live at 10am (PST)

Overflow hidden not working on this project

Hi, I have a project that uses IX2 to animate both the truck, boxes and contact form whilst scrolling down or up the page.

When you scroll down the page, the animation on the boxes that forces it off canvas to the right also causes the whole page to have that ugly off canvas white space if using a magic mouse to scroll left and right, or on touch screens.

I have tried applying overflow hidden to the parent section but it does not stop the overflow at all. Is this a known bug with IX2 off canvas animations or am I missing something simple?

You can see the problem on the live site…

Here is my site Read-Only:

1 Like

Hi @Golden28

The parent container (the section) needs to have setting of relative for it to work I think.

If you put this code into your footer in the site settings, it will eliminate all overflow issues throughout the site without changing anything.

<style> body { overflow-x: hidden !important; } </style>

Let me know if that works :smiley:


Wonderful Mark,

I tried the relative fix first and it did indeed work but threw out a little bit of my styling.

I then tried the code fix and bingo! Styling preserved and issue fixed.

Truly grateful.

1 Like

Glad it worked. :+1:
Anytime you want to style with absolute or relative, adding relative to the parent is a good habit to get into, it can save a bit of time later on sometimes.

Noted, thank-you very much!