Kepbob Posted December 3, 2021 Share Posted December 3, 2021 So I'm trying to turn my website (aconcussionstory.com also my first website) into a horizontal displayed home/index page, however I'm having a hard time using GSAP/Codepen's simple Horizontal Scrolling with Snapping. when I input the content into the DIVs/Sections, the website just displays as a blank field, I've messed around with the padding in the console not but the content still doesn't show up. Can anyone see what my issue is here? See the Pen abLOjWo by andy-le-lam (@andy-le-lam) on CodePen Link to comment Share on other sites More sharing options...
OSUblake Posted December 3, 2021 Share Posted December 3, 2021 Welcome to the forums @Kepbob We really try to keep these forums focused on GSAP-specific questions (please read the forum guidelines). I would suggest studying the original CodePen with no JavaScript just to see how it's laid out. The horizontal scrolling is fake. It's just animating a container on the x-axis. And I would also suggest getting rid of any mousewheel events and other jQuery animations. 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