Replace icon_top.png with your scroll up button and you can mess with the exact positioning with the values for right and bottom i.e. increasing the value for right to 110px will mean the icon will be 110px from the right edge of the screen.
Page Header Code Injection
Paste this into your site’s Page Header Code Injection, for how to get to it see the article Using Code Injection:
How can I add a "Scroll to top" button?
in Customize with code
Posted · Edited by HammaadM
Improve formatting, use curly quotes
Edit the Footer
If you don’t want any animation just leave it at this, but if you want some fading animation carry on following along!
CSS Editor
Go to the CSS Editor – to see how to get to it, take a look at Using the CSS Editor.
Paste in the following:
Replace icon_top.png with your scroll up button and you can mess with the exact positioning with the values for right and bottom i.e. increasing the value for right to 110px will mean the icon will be 110px from the right edge of the screen.
Page Header Code Injection
Paste this into your site’s Page Header Code Injection, for how to get to it see the article Using Code Injection:
Working Example
You can see it in action in this JSFiddle – Scroll to top.
Hope this helps.