Skip to content

Instantly share code, notes, and snippets.

@cobaltapps
Last active March 7, 2019 02:21
Show Gist options
  • Save cobaltapps/7d7f14d78877bfaf378ca5f9bb13fad9 to your computer and use it in GitHub Desktop.
Save cobaltapps/7d7f14d78877bfaf378ca5f9bb13fad9 to your computer and use it in GitHub Desktop.
Genesis Sample 2.2.2 Fixed Header CSS (Header Height reduced to 80px)
/* Fixed Header */
.site-header {
min-height: 80px;
position: fixed;
width: 100%;
z-index: 999;
}
.site-header .wrap {
padding: 0;
}
.site-inner {
margin-top: 80px;
}
@media only screen and (max-width: 960px) {
.site-header {
position: relative;
width: 100%;
z-index: 999;
}
.site-inner {
margin-top: 0;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment