I have an anchor link that leads from a button at the top to a certain part of the page, but as my menu accompanies the page, it ends up being cut as in the image below:
HowwouldIdotogiveaspace?Marginorposition,Idonotknow,butIneedthelinktogodownsoitlookslikethis:
I'musingascripttosmoothscroll:
<scripttype="text/javascript">
jQuery(document).ready(function($) {
$(".scroll").click(function(event){
event.preventDefault();
$('html,body').animate({scrollTop:$(this.hash).offset().top}, 800);
});
});
</script>