There are huge and lengthy jQuery scroll to top scripts are available throughout the web. But today we will learn to make an appearing scroll to top button with minimal jQ and CSS.
Initially, the scroll to top button will be hidden but as soon as the user will scroll down, the button will appear.
Open your footer template and add the following code at the very beginning: