Title: Trigger option not available
Last modified: July 2, 2019

---

# Trigger option not available

 *  Resolved [timheinrichs](https://wordpress.org/support/users/timheinrichs/)
 * (@timheinrichs)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/)
 * Hello,
 * nice pLugin but I am missing the option for the menu trigger. Related to: [https://wordpress.org/support/topic/mega-menu-open-on-button-click/](https://wordpress.org/support/topic/mega-menu-open-on-button-click/)
   
   You said the option will be available in the next update but this was month ago.
 * So how to trigger the menu opens on click? If no option is there any additional
   script? Or is it just available in pro version, found nothing on this topic.
 * Best regards
    Tim
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftrigger-option-not-available%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Md. Mehedi Hasan](https://wordpress.org/support/users/mehedih/)
 * (@mehedih)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/#post-11695313)
 * Hi Tim,
 * Thanks a lot for reaching out. We have tried for the menu trigger solution before.
   But we found a few complexities there. The menu is one of the complex things 
   in WordPress Structure, you know.
 * Still, we are trying to find a better solution for this. Hopefully, we can manage
   it in any of our future updates. But I’m sorry to inform you that I don’t have
   the exact ETA for you right now.
 * Hope you understand.
 * Regards,
    Mehedi
 *  Thread Starter [timheinrichs](https://wordpress.org/support/users/timheinrichs/)
 * (@timheinrichs)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/#post-11718432)
 * I just got it with some CSS ovverides and a small javascript click event. Working
   fine.
 *  [Md. Mehedi Hasan](https://wordpress.org/support/users/mehedih/)
 * (@mehedih)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/#post-11720879)
 * Glad to know that you have the solution with the CSS override and JavaScript 
   click event. It will be more pleasing for me if you share the solution with me.
 *  Thread Starter [timheinrichs](https://wordpress.org/support/users/timheinrichs/)
 * (@timheinrichs)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/#post-11721095)
 * I put this function into my JS:
 *     ```
       jQuery(function() {
           jQuery('.wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_mega_menu').click(function() {
               jQuery(this).toggleClass('active');
           });
       });
       ```
   
 * And then just overwritten all CSS :hover commands of li.wpmm_mega_menu to normal
   state. Then I took the commands for the open state (formerly :hover) to the .
   active class, like this:
 *     ```
       .wp-megamenu-wrap .wpmm-nav-wrap > ul > li > a {
         cursor: pointer;
       }
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_mega_menu:hover > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_mega_menu:hover > .wpmm-strees-row-container > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_mega_menu:hover > .wpmm-strees-row-and-content-container > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu:hover > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu li.wpmm_dropdown_menu ul.wp-megamenu-sub-menu li.menu-item-has-children:hover > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_mega_menu > ul.wp-megamenu-sub-menu > li.wpmm-row .wp-megamenu-sub-menu li.menu-item-has-children:hover > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu li.wpmm-type-widget .wp-megamenu-sub-menu li:hover .wp-megamenu-sub-menu {
         display: none;
         visibility: hidden;
       }
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_mega_menu.active > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_mega_menu.active > .wpmm-strees-row-container > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_mega_menu.active > .wpmm-strees-row-and-content-container > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_dropdown_menu.active > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu li.wpmm_dropdown_menu.active ul.wp-megamenu-sub-menu li.menu-item-has-children > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu > li.wpmm_mega_menu.active > ul.wp-megamenu-sub-menu > li.wpmm-row .wp-megamenu-sub-menu li.menu-item-has-children > ul.wp-megamenu-sub-menu,
       .wp-megamenu-wrap .wpmm-nav-wrap > ul.wp-megamenu li.wpmm-type-widget.active .wp-megamenu-sub-menu li .wp-megamenu-sub-menu {
         animation-duration: 300ms;
         display: block;
         top: auto;
         opacity: 1;
         z-index: 1;
         visibility: visible;
       }
       .wp-megamenu-wrap .wpmm-nav-wrap > ul > li > a {
         pointer-events: none;
       }
       ```
   
 * The only issue now is the curser:pointer; but it’s ok for me.
 *  Thread Starter [timheinrichs](https://wordpress.org/support/users/timheinrichs/)
 * (@timheinrichs)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/#post-11721098)
 * And now much better for Mobile devices, if u don’t want to have a mobile menu.
   For me it’s a 3 level accordion with posts now 🙂
 *  [Md. Mehedi Hasan](https://wordpress.org/support/users/mehedih/)
 * (@mehedih)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/#post-11721557)
 * Thanks a lot for sharing the codes.
 *  Thread Starter [timheinrichs](https://wordpress.org/support/users/timheinrichs/)
 * (@timheinrichs)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/#post-11721604)
 * You’re welcome! On other sites I think it will not be exactly the same, but maybe
   it’s an inspiration to add this function to you’re Plugin 🙂
 *  [Md. Mehedi Hasan](https://wordpress.org/support/users/mehedih/)
 * (@mehedih)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/#post-11721620)
 * Surely, we will apply this in our future update. If you are happy with our product
   and support, I would request you to share your thoughts on the reviews section.
   Here is the link to post a review- [https://wordpress.org/support/plugin/wp-megamenu/reviews/#new-post](https://wordpress.org/support/plugin/wp-megamenu/reviews/#new-post)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Trigger option not available’ is closed to new replies.

 * ![](https://ps.w.org/wp-megamenu/assets/icon-256x256.jpg?rev=2451874)
 * [WP Mega Menu](https://wordpress.org/plugins/wp-megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-megamenu/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Md. Mehedi Hasan](https://wordpress.org/support/users/mehedih/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/trigger-option-not-available/#post-11721620)
 * Status: resolved