If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to change website scroll speed

This tutorial shows how to change website scroll speed in WordPress.

WordPress. How to change website scroll speed

There is jQuery plugin Smooth Scroll used to manage scroll speed of your website.

In order to change the website scroll speed, you should perform the following:

  1. Locate srSmoothscroll plugin in your theme’s js files.

  2. Usually this plugin is enabled in themeXXXXX/js folder inside of custom.js or my_script.js file of your child theme.

  3. Alternatively, (like in our case) the scroll plugin code can be in jquery.simplr.smoothscroll.min.js file.

  4. Open the file with any code editor.

  5. Locate the following code:

    jQuery(document).ready(function($) { 
      if(!device.mobile() && !device.tablet()){ 
      $.srSmoothscroll({ 
      step:150, 
      speed:800 
      }); 
      } 
      });
    
  6. Change the speed value to the desired one:

    Wordpress.-How-to-change-website-scroll-speed-

  7. Save changes.

Feel free to check the detailed video tutorial below:

WordPress. How to change website scroll speed