Last active
August 29, 2015 13:55
-
-
Save magician11/8782676 to your computer and use it in GitHub Desktop.
Fixed Header
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
/* FIXED HEADER */ | |
#header, header.site-header { | |
position: fixed; | |
width: 100%; | |
z-index: 999; | |
} | |
/* Padding will need to be added. It may not be here. */ | |
#inner, div.site-container div.site-inner { | |
padding-top: 56px; | |
} | |
@media only screen and (max-width: 1023px) { | |
#header, header.site-header { | |
position: relative; | |
} | |
#inner, div.site-container div.site-inner { | |
padding-top: 0px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment