How to add a Scroll to Top Button to your SquareSpace site. This example demonstrates how to create a "scroll to top" button that becomes visible when the user starts to scroll the page. Full code: kimberleydurrant.com/blog/cod...
Hi Kimberley! Everything was going smoothly and working properly until the last piece of code I put in under the Header section of myBtn when you added “display: none; after that went in, my button disappeared. So then I took out that last code, just to see what would happen, and the button reappeared but the button still shows at the top of my page. Any thoughts?
But what if I wanted the button to just stay at the bottom right of the page only. So you actually don’t ever see the button until you reach the bottom of the page. Which code would I have to remove to get it to look like that? Thank you!!!
I was doing this on my own and I was stumped because I couldn't manage to find what I did wrong. Every time I clicked the button it would not do anything after I set the function. Even after watching this I'm stuck. Not sure if I'm useless or an idiot. :/
@@kimberleymgd I would do everything perfectly and then when I add the code for the footer to activate the button to work, nothing happens. I'm not sure of why. Not sure of where I went wrong. But I will try it again tomorrow and see what happens. xD