How to close the menu after a menu item link is clicked

Close mobile menu after click

If you are using a one page theme and want to close the mobile menu as soon as one of the links is clicked:

  1. Install the TC Custom JavaScript Plugin
  2. Go to Appearance > Custom JavaScript and enter the following:

Close main menu after click

If you are using a one page theme and want to close the main menu as soon as one of the links is clicked:

  1. Install the TC Custom JavaScript Plugin
  2. Go to Appearance > Custom JavaScript and enter the following:

Related Articles