Make Back To Top Button Invisible until a certain point is passed

Hi all,

I’m new to making websites on Wix, and was wondering if anyone knows of a way to make a Back To Top Button invisible (and unclickable) on a page until you pass a certain point on the site (maybe using a pixel value on the vertical plane of the site/section on the site as reference?), at which point it triggers a pre-selected animation from the Wix Editor and comes onto the screen, and disappears again if the point is passed scrolling up the site opposed to down (or if the button is clicked of course, which are both symptoms of the same thing I think since the site moves upwards on click).

I’m pretty sure this is something that would have to be coded, as I don’t see anything in the Wix Editor that can achieve this.

I’m not the strongest coder in the world, but I did take a class on programming in Microsoft Visual Basic in high school, so I figure I may be able to maneuver something like this if someone here is able to point me in the right direction. Thanks in advance! :grin:

Hi! You can use anchor links instead of using javascript to create a “back to top” button. An anchor link is a hyperlink that allows you to jump to a specific point on a webpage, and it can be used in conjunction with the Wix editor to create a “back to top” button. For this you can set the Wix code that as soon as the visitor crosses a selected anchor, this will move the Visitor back to top without a “Back button”.