So Ive been trying to make a horizontal scroll section, where a div inside the section scrolls horizontaly, however. No matter what I have tried or tutorials I have followed, sticky does not work AT ALL. Help me here, this is a project I need to finish asap and this isnt making any sense.
The issue is the
overflow: hidden on the Body element—sticky positioning gets really upset when using fixed heights and/or hidden overflows on parent elements:
It looks like you’ll need to tweak things a bit as the section isn’t scrolling as intended after that change but setting the body to
overflow: visible will fix the issue with the section not “sticking”
Let me know if you still need assistance to help get un-stuck! Feel free to email me here: email@example.com