Hello,
I'm new to Greensock & I was trying to create a horizontal scrolling website using scrollTrigger(Whole website is horizontal scrolling).
I have two problems to solve now:
1.Scroll to last section on clicking on a button ("Click to contact" button on codepen demo & scroll to <section #contact>..)
2. Disable horizontal scrolling on mobile (below 991px) & apply vertical scrolling.
I tried to implement some solutions other users posted on this forum, but didn'
Welcome to the forum @Sree
Usually it's best if we can see what you tried reflected in your codepen demo and try to help you from there, because people on this forum just don't have the capacity to code out custom solutions for everyone.
With regard to this, you'll want to take a look at ScrollTrigger's .matchMedia which is built for exactly doing that (i.e. having different ScrollTriggers active for individual different screensizes). I jus