AndresBG Posted February 13, 2022 Share Posted February 13, 2022 Hey guys! how are you! first of all, really like to thank you for this amazing tool. I already implemented this sample code for my own webflow project. This is working just fine if I have a page with equal sections (panels). The current design includes a 5th section that is larger than the rest and when this is added to the layout, the pinned efect didnt calculate properly the 100vh for the first 4 sections. I dont need the 5th section to be pinned, only to scroll down normally until the end. Is there a way to switch off or not to apply the layered pinning for my last section? Hope that you could help me with this one! Thanks in advance See the Pen KKpLdWW by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
elegantseagulls Posted February 13, 2022 Share Posted February 13, 2022 This is only pinning sections with with class name '.panel', so if you don't add that class, it won't pin. Link to comment Share on other sites More sharing options...
AndresBG Posted February 13, 2022 Author Share Posted February 13, 2022 Thanks for your quick turnaround! It seems that after adding a different section with different class names not solve the issue im facing. After adding the new section is like the other sections failed to calculated the 100vh and the scroll down behaves weird jumping or skipping sections, the 5th long section is over the top of the previous one (not stacked as a normal section). Do you think will help if I send you the two urls? Link to comment Share on other sites More sharing options...
elegantseagulls Posted February 13, 2022 Share Posted February 13, 2022 Creating a minimal demo in codepen would be most useful Link to comment Share on other sites More sharing options...
AndresBG Posted February 13, 2022 Author Share Posted February 13, 2022 Great! in the meantime please checked this working url standard panel class name 100vh https://layered-pinning.webflow.io/custom-sections and this is what happens when you have a new section different class name no-pinned auto or fixed height https://layered-pinning.webflow.io/custom-sections-5th-no-pin Please let me know if you still need a codepen demo, thanks! Link to comment Share on other sites More sharing options...
GreenSock Posted February 14, 2022 Share Posted February 14, 2022 Yes, @AndresBG, we definitely need a minimal demo in something like CodePen if you'd like further help. Thanks! 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