Board Thread:Support Requests - Getting Technical/@comment-35289850-20200818180523

Can someone please code a sample usage of position:sticky where an image is position:relative until you reach a part of the page where it turns into position:fixed?

I think you will have to put the position:sticky into Wikia.css

Context: I've been trying to get it to work here: w:c:imotwom:User:AtoneTheMage/Testing but the image only works in preview mode.

I put this in Wikia.css: div.sticky { position: -webkit-sticky !important; position: sticky !important; top: 0 !important; }

And called it with:  