0
I need to edit the content anchor to a lower height than the content.
I’m using the js
$(".white-felling").click(function(){
$("html,body").animate({scrollTop:$("#white-felling").offset().top},"500");
return true
})
and when I click, I am 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 does it look:
How it should look:
jsfindle: http://jsfiddle.net/thallysondias/n4r2ao8n/ Is there any way to keep the anchor function (with the link displaying xxx.com#Section) and still edit the height for fewer pixels?
Can you do a jsfiddle with the problem or put the code in question here? Otherwise it is difficult to understand what might be failing
– Sergio
Sergio, this one: http://jsfiddle.net/thallysondias/n4r2ao8n/
– Thallyson Dias