Jump to content
Search Community

Scrollsmother

AllenIVe test
Moderator Tag

Recommended Posts

Hey Guys,

 

I'am new on scrollsmother, is there any possibility to use the sticky function like on scroll locomotives?

 

<div class="sticky_div" data-scroll="" data-scroll-sticky="" data-scroll-target="#home__secondo_blocco_fixed" data-events="scroll">  <div class="title-2"> <h2>Is indecisiveness<br>
stopping your<br>
growth?</h2>
</div> </div>

Thanks,

Link to comment
Share on other sites

  • AllenIVe changed the title to Scrollsmother

Hi @AllenIVe. I'm not very familiar with LocomotiveScroll - are you just asking how to pin something? Maybe it'd help if you tried with ScrollTrigger/Smoother and post a minimal demo (a CodePen or Stackblitz) and explain what isn't working the way you'd expect. It should be pretty simple to pin an element with ScrollTrigger (see the docs and search for "pin"). 

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...