Showing 1 – 2 of 2 replies
saeros

For those wondering, the navbar smooth […]

saeros PURCHASED
9 years ago
For those wondering, the navbar smooth scroll has a bug, making the active link appear white. To fix it, head to the custom.js file and replace the script below "Smooth Scrolling" with the following:

$(".navbar-nav li a[href^='#']").on('click', function(e) {
e.preventDefault();
var hash = this.hash;
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 300, function(){
window.location.hash = hash;
});
});

Cheers
JamesStokes
JamesStokes PURCHASED
8 years ago
Thank you - great fix!
simplesphere
simplesphere SELLER
8 years ago
Thanks for the hint :)