« SpaceHey Forum

how to get a fixed image at the front of the screen that follows the user when they scroll??

Posted by pancake

posted

Forum: SpaceHey

ive seen a few profiles with images that dont move when u scroll and stay in a fixed position on the screen, anyone know how to achieve that?


Report Topic

2 Replies

Sort Replies:

Reply by arlo atomickk

posted

<div style="float: ; max-height: 800px; position: scroll; left: 20px; top: 100px; z-index: 200; id="><img src="DIRECT LINK"/></div>

I think that may do it


Permalink Report Reply

Reply by aubrii🎀🦴

posted

<div style="float: ; max-height: 800px; position: absolute; left: 20px; top: 100px; z-index: 200; id="><img src="YOUR LINK"></div>

absolute should work, because it makes it stay in one place no matter what. another option is static, which works like you'd like, except it has to be in a text box, like "who id like to meet" or "about me". I know this is soo late but I hope this helps, this is just what I've found along the coding for my account that works!!


Permalink Report Reply