XF 2.1 Rotate an image on scroll

braune

New member
Hey,

I want to rotate a background-image in nav on scroll (event) with transform. Actually im just a beginner so please be patient. :)
Unfortunately I have no idea where I have to place my code. I already know that I can write css code in style-properties and in "extra.less". But I need javascript to use the scroll event.
Can you tell me which template I have to edit to place my javascript code and add a <img> tag?

Regards
 
Back
Top Bottom