How can I add a "Scroll to top" button? in Customize with code Posted July 26, 2014 · Edited September 7, 2014 by aquaria527 Format code I found the solution to hiding the button on mobile. You have to code several scroll buttons in the CSS Editor, for different configurations as follows: @media only screen and (max-width:3000px) { .scrollup { width: 60px; height: 40px; position: fixed; bottom: 50px; right: 100px; display: none; } } And then add these next two, but leave the brackets inside blank: @media only screen and (max-width:480px) {} This one works for slightly smaller screens like tablets or when the phone is landscape: @media only screen and (max-width: 1000px) {} danielconz 1
How can I add a "Scroll to top" button?
in Customize with code
Posted · Edited by aquaria527
Format code
I found the solution to hiding the button on mobile. You have to code several scroll buttons in the CSS Editor, for different configurations as follows:
And then add these next two, but leave the brackets inside blank:
This one works for slightly smaller screens like tablets or when the phone is landscape: