So, I have this single page that consists of a few sections. Users can go to these sections by scrolling themselves or clicking in the navbar (a href with anchor). Due to th
you can use jQuery to override the default behavior so you don't have to change the layout ( margin, padding .. etc.)
var divId;
$('.nav-link').click(function(){
divId = $(this).attr('href');
$('html, body').animate({
scrollTop: $(divId).offset().top - 54
}, 100);
});
https://codepen.io/anon/pen/NYRvaL