My problem is this.
<a href="#saibamais" class="scroll-to">
Saiba Mais
</a>
<div id="saibamais"></div>
$('a.scroll-to').on('click', function (e) {
e.preventDefault();
$('html,body').animate({scrollTop: ($($(this).attr('href')).offset().top - 0)}, 600);});
On screens larger than 992 works normally, but changing the resolution from 992 down does not work anymore.