Skip to content

Instantly share code, notes, and snippets.

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