Created
November 5, 2018 13:11
-
-
Save butlerblog/fd066bad69afb4e9f3633e603c8c8203 to your computer and use it in GitHub Desktop.
Fix header overlap with anchor links (Genesis)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
: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