• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Add Scroll Back To Top In Genesis

This tutorial contains the code which adds a animated smooth scrolling back to top link in your sites footer. The code includes a Dashicon for the arrow, a small jQuery file and 3 CSS rules.

Here’s the demo video :

Customization

You can :

  1. Style the background to the arrow
  2. Change the arrow icon to any other dashicon
  3. Set the offset value in the jQuery to any distance in pixels so the back to top link appears after a specific scroll distance.

Code Installation

There’s 3 simple steps :

Step 1 : From the download folder, upload the file named top.js to your child themes js folder.

Step 2 : From the download folder, copy & paste the PHP code from the functions file to the end of your child themes functions.php file.

Step 3 : From the download folder, copy & paste the CSS from the style.css file to the end of your child themes style.css file and clear caching.

Register or login to access the download folder :

Register for full access

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags