NickBnW Posted September 15 Share Posted September 15 Hello all. I have one issue that is keeping my website from being complete. I want the second section to be "sticky" which is the only one that scrolls "over" the first section, but this has caused the other sections at the bottom to do the same. How do I prevent this from happening? I've tried to make the last two sections position absolute which pretty much breaks it. nickreiswig.com/coinbook-v1 Link to comment
NickBnW Posted September 16 Author Share Posted September 16 4 hours ago, NickBnW said: Hello all. I have one issue that is keeping my website from being complete. I want the second section to be "sticky" which is the only one that scrolls "over" the first section, but this has caused the other sections at the bottom to do the same. How do I prevent this from happening? I've tried to make the last two sections position absolute which pretty much breaks it. nickreiswig.com/coinbook-v1 this is the code used for the first two sections: section[data-section-id="64a1969b1e2c82683c3c23b0"], section[data-section-id="64a177fa7800c72b476a409d"] { position: sticky !important; position: -webkit-sticky; top: 0px; } Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment