Categories

Joomla

/Joomla

Joomla + Helix3 Main menu smooth scroll in to section id

You need to go to  templates/your-theme/js/main.js and at the enf of file you need to add this code:   //smooth code jQuery(".sp-megamenu-parent li a").click(function(){return jQuery("html, body").animate({scrollTop:jQuery(jQuery.attr(this,"href")).offset().top},500),!1}) jQuery(".sppb-btn").click(function(){return jQuery("html, body").animate({scrollTop:jQuery(jQuery.attr(this,"href")).offset().top},500),!1}) //end smooth code http://prntscr.com/e9px32

By | February 18th, 2017|Joomla|Comments Off on Joomla + Helix3 Main menu smooth scroll in to section id
Load More Posts