Streaming live at 10am (PST)

Scroll to top page

hi !
how to do a button to scroll to top page?
I have a icon and on click --> top page.


answer by blitux from earlier question:

Scroll to top button visible only when scrolled down

I’ve found the solution by myself. It seems not possible to do it with the editor only, so I’ve used a couple of jquery functions. this is the code I’m using:

So, just add an element to the body, set a class, set it to fixed position and the paste the code to Custom Code section, on project properties. Adjust the class name .gotop accordingly.

1 Like