Tutorial: Scroll To Top Button

Hi,

How can I make an arrow button at the side of the website that will scroll to the top of the page?

2023-09-23_20-11-44

Simply put it as the link block, than add to the top bar section the ID forexample “welcome”
And set-up the scroll to section via link property

Sorry, I didn’t understand your explanation.

Can you please make a video about it?

Thanks

Here is a tutorial

and here’s the code I used in video.

if (data.percent.top > 10) {
    $(".scroll-to-top").show().css("display","flex");
} else {
    $(".scroll-to-top").hide();  
}

1 Like

Thanks a lot @Pakic

I love my new scroll to top button :heart_eyes:

Just another question please…

What if I want the button to be shown only when I am scrolling and when I am not scrolling it disappears?

I love the way you explain things, maestro! very easy to understand :kissing_heart: