-
-
Save srikat/4e5d27846d02b85e09c5 to your computer and use it in GitHub Desktop.
How to add MENU to the right of hamburger icon in Ambiance Pro. https://sridharkatakam.com/how-to-add-menu-to-the-right-of-hamburger-icon-in-ambiance-pro/
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
$(".nav-primary .genesis-nav-menu").addClass("responsive-menu").before('<div id="responsive-menu-icon"></div>'); |
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
$(".nav-primary .genesis-nav-menu").addClass("responsive-menu").before('<div id="responsive-menu-icon"><span class="menu-text">MENU</span></div>'); |
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
.menu-text { | |
color: #fff; | |
vertical-align: top; | |
margin-left: 5px; | |
display: inline-block; | |
font-family: Lato, sans-serif; | |
} | |
@media only screen and (min-width: 1231px) { | |
.menu-text { | |
margin-top: 2px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment