Skip to content

Instantly share code, notes, and snippets.

@srikat
Last active Aug 29, 2015
Embed
What would you like to do?
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