loader loader

Make the button Scroll Top in WordPress

When you visit a website and read the information gets to the bottom of the sometimes if we see there is one of the features of the button  image upwards arrow of the page of the website, that’s called a scroll top.

Scroll Top WordPress function to make it easier for visitors to return to the top page without manually doing her.

There are various ways to make the button Scroll Top WordPress, that could add a script on our wordpress themes as well as with the use of WordPress plugins. We will discuss one by one

1.How to create a Scroll Top with Code

Your first step to open the file “header.php” located in the wordpress theme being used

Appearance > Editor > Select the theme you use > header.php

Make the button Scroll Top WordPress

Make sure “header.php” file inside there <div id =”header”>, usually by default the code is readily available. If the “header.php” file already exists then you input the code given below in the file footer.php and then save.

<a href=”#header”>Scroll to top</a>

2.How to create a Scroll Top using jQuery

Download the Javascript Script below and then uploaded on cPanel hosting you and place it in the folder “js” of your wordpress theme.

DOWNLOAD Scroll Top jQuery

Next add the script below and copy and paste into the file footer.php

The next step was the last how to make scroll top jQuery script add the css code below into the file style.css from your wordpress theme.

To change picture button scroll top you can just change it in this script background: url (“images/scrolltop.png”);

3. Make Button Scroll Top use Plugin

we can create using the help of a wordpress plugin named WPFront Scroll Top.

The features of WPFront Scroll Top wordpress plugins include:

  • Button scroll top be replaced according to taste
  • Auto Hide
  • Display Navigation buttons if the visitor scroll down the page
  • Manufacture of buttons can be text, images, and animation
  • Post/Page filters

First we download the plugin first WPFront Scroll Top here , then install the plugin. Plugins > Add New > Upload Plugin > Choose File > Install Now

Make the button Scroll Top WordPress

Once completed install go into the settings of the plugin WPFront Scroll Top and then tick the Enabled Like the image below:

Make the button Scroll Top WordPress

Make the button Scroll Top WordPress

For other arrangements please do according to your needs.

Leave a Reply

Your email address will not be published.