Skip to content

Instantly share code, notes, and snippets.

@srikat
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save srikat/4e5d27846d02b85e09c5 to your computer and use it in GitHub Desktop.
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/
$(".nav-primary .genesis-nav-menu").addClass("responsive-menu").before('<div id="responsive-menu-icon"></div>');
$(".nav-primary .genesis-nav-menu").addClass("responsive-menu").before('<div id="responsive-menu-icon"><span class="menu-text">MENU</span></div>');
.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