modif du scroll sur les ancres

This commit is contained in:
Valentin Le Moign 2025-05-08 16:12:49 +02:00
parent cc9ce4e38a
commit b35852395f

View File

@ -55,7 +55,7 @@ function scrollNav() {
// $('.'+theClass).parent('li').addClass('active');
//Animate
$('html, body').stop().animate({
scrollTop: $( $(this).attr('href') ).offset().top - 240
scrollTop: $( $(this).attr('href') ).offset().top - 160
}, 400);
return false;
});