Div element won't stick

Topic is closed. Thanks for stopping by.

The code is working fine, you just have to check if sticky supports your browser.

https://jsfiddle.net/Randore/tm5ydzw6/

Where’s that? I’m using torch browser. I just checked it on Chrome and it works fine. But it doesn’t work on torch, edge and IE. All my browsers are updated constantly.

Read more
https://caniuse.com/#search=sticky

1 Like

Yeah I found the problem. It’s not supported on all of my browsers, cause I didn’t update them as regularly as I thought I had. So, just Chrome. Thanks for the replies! :raised_hands::raised_hands: