Jump to content
Search Community

Using ScrollSmoother on a WordPress site

Reinoud test
Moderator Tag

Recommended Posts

Hi Gsap'ers!


I bought the Shockingly Green about a week ago, because of the ScrollSmoother plugin

The sites scroll like a dream now, it's awesome!


The company I work for makes WordPress sites with the Divi theme and I had to make the ScrollSmoother work so we can apply it on all our new sites.

If I just add the ScrollSmoother.create({}), the smooth wrapper will wrap very strange in WordPress, so I tried several way's to wrap it correclty, with no real results yet.


Here's my problem:


The problem is best visibile in Safari. Safari always takes a while to load the page fully. When you load the page en start scrolling right away, you'll notice that when the page is finally done loading, the triggers replace and scrolling becomes very buggy for a few seconds. 

After that a brown (probably the background-color of the page) bar appears at the top, and when scrolling down the footer won't appear every time. 


You can get this problem in chrome as well, but you have to start scrolling before the page loads.


Does somebody know a wat to solve this?


I tried: 

normalizeScroll: true



I added a "console.log("right here!")" so you can look up my code easily.


Here's the link (it's a test site):

Power | Tobias REDDSTONE


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...