Created
April 19, 2023 09:40
-
-
Save divienginesupport/c40e25bd0523c9cf0a9091a2bfade805 to your computer and use it in GitHub Desktop.
Divi Mobile Snippet - Show the Theme Builder global header also when mobile breakpoint is set to 5000px
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
/* Show Theme Builder header on all screens */ | |
/* The following media query targets screens with a maximum width of 5000 pixels */ | |
@media only screen and (max-width: 5000px) { | |
/* Ensure that the header (with class 'et-l--header') is visible */ | |
body .et-l--header, | |
/* Ensure that the navigation (with ID 'et-navigation') is visible */ | |
body #et-navigation { | |
display: block !important; /* Use '!important' to override other styles */ | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment