Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 20h 08m 10s
Claim 50% off
Staff replied Templates

Helix 3 Smoothscroll

Asked by Michael Ko. 1 year ago Last activity 1 year ago

Hello everyone,
I’m trying to adjust the scroll speed in Helix 3 by modifying smoothscroll.js, but nothing seems to change.

I've edited the following values:

javascript
var ssc_framerate = 400;
var ssc_animtime = 1200;
var ssc_stepsize = 500;
However, the scroll speed still feels way too fast.
Is it possible that I’m changing the wrong part of the code or that smoothscroll.js isn’t being applied at all?

Any ideas?

1 reply

Toufiq Senior Staff
1 year ago · edited

Hi there,

Thank you for reaching out. Please follow the instructions.

  1. Download the smoothscroll.js file & place it on this file location

smooth-scroll.js.zip

templates/shaper_helix3/js/smooth-scroll.js

  1. You have to include it inside the template index.php file.

templates/shaper_helix3/index.php

$helix3->addJS('bootstrap.min.js, jquery.sticky.js, main.js, smooth-scroll.js') // JS Files

  1. Add this code inside the main.js file. https://prnt.sc/-CCCgE-TAwyC

templates/shaper_helix3/js/main.js

    if (typeof SmoothScroll !== "undefined") {
  var scroll = new SmoothScroll('a[href*="#"]', {
    speed: 500,
    speedAsDuration: true,
    offset: function () {
      return $("#sp-header").outerHeight() || 80; // Adjust based on sticky header
    }
  });
}

Best regards,

Toufiqur Rahman (Team Lead, Support)

Log in to reply.