Skip to content

Instantly share code, notes, and snippets.

@butlerblog
Created November 5, 2018 13:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save butlerblog/fd066bad69afb4e9f3633e603c8c8203 to your computer and use it in GitHub Desktop.
Save butlerblog/fd066bad69afb4e9f3633e603c8c8203 to your computer and use it in GitHub Desktop.
Fix header overlap with anchor links (Genesis)
:target::before {
content: "";
display: block;
height: 50px; /* fixed header height*/
margin: -50px 0 0; /* negative fixed header height */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment