"Up" button. Return to the top of the page.
-
Hello! Whether there are options to make the scrolling button “To return upward” less elastic. There is not enough smoothness. Using “load more” the user leaves deeply and resetting on the top of the page not really comfortable.
Hi,
What exactly do you mean by less elastic? Do you want to instantly move to the top without animation?
Regards
Excuse me.I mean cranking speed very high and as though increases to an anchor. As a result, animation has a time delay and it turns out a little Twitches.
So you want to increase the animation time?
Yes, please. If it is possible.
Try to add the following code snippet to the Custom JS area on the document ready in Theme Settings and replace 1800 with any number in milliseconds
jQuery('.scrollToTop').on('click', function () {
setTimeout(function() {
jQuery('html, body').stop().animate({
scrollTop: 0
}, 1800);
}, 50);
return false;
});
Thank you very much. Everything is working. Sorry again.