What's the easiest way to add an up-to-top button?
I don't want it to go to the top of the page but to the top of the section. Thanks
Add an id to the section you want to go to and add the section's id as the link to the button. If that's what you are asking. π
Example
If not, Could you elaborate? π
you can listen scroll event and calculate the offset from top to calculate when the button should be visible
Check here
Scroll to top