reduce the scroll amount on click of nav menu

This commit is contained in:
Arvind Tiwari 2018-02-15 02:11:08 +05:30
parent a2d79cfab3
commit aec7f99aee
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@
$('.navbar-collapse').addClass('collapsing');
if ($(href).length) {
$('html, body').animate({
scrollTop: $(href).offset().top
scrollTop: $(href).offset().top - 50
}, 1000);
}
});