Reply To: Problem with Menu Scroll

Support Forums Cian – WP Theme Problem with Menu Scroll Reply To: Problem with Menu Scroll

#5182
CreaboxThemes
Keymaster

Hi,

about the offset for the nav bar, you can modify the value in the file footer-single.php. Now, the value is 300px. The line code is the next:

if(jQuery(this).scrollTop() > 310) {

And about the menu link with scroll down, you have to add the next code in the option Custom JS in the page Appearance > Theme Option > Custom Scripts:

jQuery('.navbar-nav > li.scrollTo a').bind('click', function(e) {
     e.preventDefault();
     var target = this.hash;
     jQuery.scrollTo(target, 1250, {
          easing: 'swing',
          axis: 'y',
          offset: -45
     });
});

Regards