AllenIVe Posted August 9, 2023 Share Posted August 9, 2023 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 More sharing options...
GreenSock Posted August 9, 2023 Share Posted August 9, 2023 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now