I need to edit the anchor of the content to a smaller height than the content.
I'm using js
$(".white-felling").click(function(){
$("html,body").animate({scrollTop:$("#white-felling").offset().top},"500");
return true
})
And when I click, I'm directed to the content:
<section class="text medium-12 medium-centered columns" id="white-felling">
bla bla bla
</div>
But I have a problem, because I use a header with fixed height, so when using the anchor the content is hidden.
How it works:
Howtostay:
jsfindle: link Is there any way to keep the anchor function (with the link displaying xxx.com # section) and still edit the height for fewer pixels?