Anchor Links obscured by sticky nav

Anyone know a workaround for anchor links that are obscured by sticky navigation menus e.g. a bit of custom CSS that positions the anchor 60px below the top of the page? I have tried some but to no avail.

Ok - have sorted this - hopefully will come in useful for others.

The basic problem is that linked anchors come into view at the top of the page. However, when you have a sticky menu, this obscures the anchor.

The trick that worked for me is some custom CSS using the :target selector. For example:

:target {
display: block;
position: relative;
top: -60px;
visibility: hidden;

Adjudjust the -60px to suit

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.