Jump to content
Search Community

Scroll Trigger pinning height problem

ud907 test
Moderator Tag

Recommended Posts

Hi, you are saying that you are trying to pin all of your sections, but you are only pinning the second one, where you setting pinSpacing: false that is why the third section is overlapping the second one.

 

In other words the code is doing what it should.

 

See the Pen WNwpLNJ by ihatetomatoes (@ihatetomatoes) on CodePen

 

Checkout the above demo, I have created a loop for the two sections and also added overflow-x to the body because your images are causing horizontal scrollbar to appear.

 

Hope that helps.

  • Like 4
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...