oastone
-
Posts
0 -
Joined
-
Last visited
Reputation Activity
-
oastone reacted to AndreaDube in Anchor links scroll too far
Try this:
I simply added the following CSS and it works perfectly:
:target:before {
content:"";
display:block;
height:120px; /* fixed header height*/
margin:-120px 0 0; /* negative fixed header height */
}