Last active
December 19, 2015 10:39
-
-
Save robneu/5942197 to your computer and use it in GitHub Desktop.
Add padding to the body element equal to the height of your fixed header element.
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
/* | |
Body Element | |
---------------------------------------------------------------------------------------------------- */ | |
/* This Should Be Equal to the Height of your | |
* fixed header bar. | |
--------------------------------------------- */ | |
body { | |
padding-top: 81px; | |
padding-top: 8.1rem; /* Only Add this in Genesis 2.0 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment