Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
battleaxe10000

pinning not working properly

Recommended Posts

https://hopeful-almeida-c45621.netlify.app

 

Hi, 

I couldn't get this to work on codepen, so on codepen is my code and in the netlify-link is how it looks like right now. If anyone can help me how to make it work on codepen it's obviously a big bonus ;)

 

My actual questions are:

1) How can I pin my page2 so that all the content that is scolling fits. At the moment the pin lets go a bit too soon, making me miss the last lines of text under the header "seven".

2) My image in page2 is moving downwards as I scroll, even though I've tried to pin it. Why, and how can I fix this?

 

The goal:

Is to pin the entire page2 and the image as long as the text scrolls. I might try to do something with the text to eventually, but I feel I have to get the pinning working first.

 

Thank you very much for your time 😃

 

See the Pen KKNRBQB by battleaxe (@battleaxe) on CodePen

Link to comment
Share on other sites

Hey battleaxe10000. 

 

48 minutes ago, battleaxe10000 said:

If anyone can help me how to make it work on codepen it's obviously a big bonus ;)

Asking us to debug your minimal demo in order to recreate the issues that you're having is asking a bit much of us. I strongly encourage you to spend more time trying to recreate the issue. My guess is that doing so will help you figure out what's going wrong in your actual project as well.

Link to comment
Share on other sites

I was only thinking if it was a common problem with a simple solution.

I'll get back to it and see if I can fix it.

Thank you for your feedback.

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