• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2966

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Subscriptions
  • Access
  • Log in

Click Menu Icon To Show Hide Any Nav Menu

This tutorial provides the code which adds a menu icon that once clicked, displays the menu in any Genesis child theme.

The code will also work on any other WordPress theme simply by changing the classes in the jQuery which is very easy and supported for members.

menu

There’s 3 types of code which need installing:

  1. PHP code to enqueue ( load ) the jQuery
  2. jQuery to add the click function and class for the menu icon as well as fade the menu on hide.
  3. CSS to add the icon and hide the menu.

Here’s the installation instructions:

The 1st example shows you how to add the effect to the header right menu.

Register for full access

Related Tutorials

  • Using Mobile Hamburger Menu On Desktops – Eleven40 Pro

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Code written by Brad Dalton specialist for Genesis & WooCommerce.

Advertise · WPEngine · Genesis · Log in

  • Account
  • Consulting
  • Post Tags
  • Contact
  • Terms
  • Monthly Membership
  • Yearly Subscriptions
  • Log in
 

Loading Comments...