Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save cobaltapps/7d6b17a8a0b2a45bcb175eb047fa8e39 to your computer and use it in GitHub Desktop.
Save cobaltapps/7d6b17a8a0b2a45bcb175eb047fa8e39 to your computer and use it in GitHub Desktop.
Genesis Sample 2.2.3 Fixed Header CSS (Header Height reduced to 80px)
/* Fixed Header */
.site-header {
position: fixed;
width: 100%;
z-index: 999;
}
.site-inner {
margin-top: 80px;
}
@media only screen and (max-width: 1023px) {
.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