Changing Scroll Speed

Is there a way to change the scroll speed when you click on the sections in the nav menu?

Hello there,

To accomplish it, try doing the below steps:

  1. Install and activate the TC Custom JavaScript plugin
  2. Go To Appearance > Custom JavaScript
  3. Paste the following code into the provided box
    ;(function($) {

      $(function() {
        $('.site-header .main-navigation a[href*="#"]').on('click',function (e) {
            var target = this.hash;
            var $target = $(target);

          if ( $target.length ) {
              e.preventDefault();
            $('html, body').stop().animate({
                 'scrollTop': $target.offset().top
            }, 3000, 'swing');
          }

        });
      });

    })(jQuery);

Adjust the speed value 3000 above to any number of your choice. 3000 equals to 3 seconds.

  1. Update

Regards,
Kharis