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.

Related Tutorials


Comments

One response to “Click Menu Icon To Show Hide Any Nav Menu”

  1. […] Click Menu Icon To Show Hide Any Nav Menu […]

Leave a Reply

Join 5000+ Followers

Get The Latest Free & Premium Tutorials Delivered The Second They’re Published.