Okay
  Public Ticket #378980
Smooth scroll
Closed

Comments

  • Simon started the conversation
    Hi,

    We use yootheme´s template with smooth scroll links for buttons.

    How can I add the script so it works in the slider?

    Trying to add:

    jQuery(function($) {
    // enable smooth scroll for main navigation
    $('.tp-revslider-mainul').each(function(i, element) {
    var obj = new $.UIkit["scrollspynav"](element, {smoothscroll: {closest: 'li', offset: 90}});
    });
    });

    Where can I connect so smooth scroll works in slider also?
  •   Max replied privately