Skip to content

Instantly share code, notes, and snippets.

@srikat srikat/style.css Secret
Last active Aug 29, 2015

Embed
What would you like to do?
Adding the word 'Menu' next to the Hamburger icon in Altitude Pro. https://sridharkatakam.com/adding-the-word-menu-next-to-the-hamburger-icon-in-altitude-pro/
$( '.nav-primary .genesis-nav-menu, .nav-secondary .genesis-nav-menu' ).addClass( 'responsive-menu' ).before('<div class="responsive-menu-icon"></div>');
$( '.nav-primary .genesis-nav-menu, .nav-secondary .genesis-nav-menu' ).addClass( 'responsive-menu' ).before('<div class="responsive-menu-icon"><span class="menu-text">Menu</span></div>');
.menu-text {
color: #fff;
line-height: 1;
vertical-align: top;
margin-top: 3px;
margin-left: 5px;
display: inline-block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.