Skip to content

Instantly share code, notes, and snippets.

@generatepress
generatepress / gist:282078076cd8631c17717d5b8640c043
Last active Apr 25, 2022
Initiate the mobile header at your desired width. Change 768px to whatever you like.
View gist:282078076cd8631c17717d5b8640c043
@media( max-width: 768px ) {
.site-header,
#site-navigation,
#sticky-navigation {
display: none !important;
opacity: 0;
}
#mobile-header {
display: block !important;