Skip to content

Instantly share code, notes, and snippets.

@JohnBunka
Last active September 16, 2015 16:00
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 JohnBunka/00f465315a51ef28df01 to your computer and use it in GitHub Desktop.
Save JohnBunka/00f465315a51ef28df01 to your computer and use it in GitHub Desktop.
Adding the word ‘Menu’ next to the Hamburger icon in Caroline WordPress University Theme
$('.menu-primary').before('<button class="menu-toggle" role="button" aria-pressed="false"></button>'); // Add toggles to menus
$('.menu-primary').before('<button class="menu-toggle" role="button" aria-pressed="false"> Menu</button>'); // Add toggles to menus
.menu-toggle {
line-height: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment