Title: Trigger menu from button?
Last modified: June 27, 2017

---

# Trigger menu from button?

 *  Resolved [mightur](https://wordpress.org/support/users/mightur/)
 * (@mightur)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/trigger-menu-from-button/)
 * How do i trigger the mobile menu to show when you press a button on the site,
   in need a trigger shortcut or a trigger link.

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

 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/trigger-menu-from-button/#post-9266043)
 * If you want to trigger the left menu add this class to the html element
    `mobmenu-
   left-bt` and for the right button add this on `mobmenu-right-bt`
 * You can see it in my [WP Mobile Menu site](http://www.wpmobilemenu.com)
 * Example of my button
    ⌊https://cl.ly/0R1v192u1I2t/[72916d88b0a0b0197571f1511537aa62]
   _Image%202017-06-27%20at%203.08.27%20PM.png⌉
 * [Full size Image](https://cl.ly/0R1v192u1I2t)
 * Let me know if you made it.
 * -Takanakui
 *  Thread Starter [mightur](https://wordpress.org/support/users/mightur/)
 * (@mightur)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/trigger-menu-from-button/#post-9267381)
 * Hi again.
 * Sorry I am not that technical in my site making, could you maybe share and easier
   step by step guide how to add that button? Right now I am using the Elementor
   page builder, is it possible to trigger the menu from its button widget?
 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/trigger-menu-from-button/#post-9267525)
 * Sorry but there isn’t other way to talk about this I’m not using any jargon, 
   you need to read some documentation about css. It is essencial to build a website.
 * In the Elementor page builder the Button Widget has a field to provide an extra
   class.
 * Check this screenshot.
    ⌊Image⌉
 * You just need to enter one of the css class I provided earlier in my reply depending
   if you want the button to open the left or the right button.
 * Let me know if you manage to do it. If not send me an email to [support AT wpmobilemenu
   DOT com] so we can discuss this further.
 * -Takanakui
 *  Thread Starter [mightur](https://wordpress.org/support/users/mightur/)
 * (@mightur)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/trigger-menu-from-button/#post-9269878)
 * Well it kin of works… But the problem is that I wanted the button to show the
   menu in desktop mode even though the mobile menu was disable (just shows on devices
   smaller then 1050 px) When you press the button and the mobile menu is not showing
   it just glitches, but if i change so the mobile menu always is the navigation
   bar instead of my main.nav it works.
 * it is possible to trigger the menu even if the mobile menu itself is not showing?
 *  Plugin Author [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * (@takanakui)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/trigger-menu-from-button/#post-9270097)
 * Well, you can increase the width trigger to a higher value instead of the current
   1050px.
 * And if necessary I can provide some css so you can hide the Mobile Menu header/
   buttons on resolutions higher then 1050px.
 * Let me know. Will need to see your site url, you can email to the email provided
   in my previous reply.
 * -Takanakui

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

The topic ‘Trigger menu from button?’ is closed to new replies.

 * ![](https://ps.w.org/mobile-menu/assets/icon-128x128.png?rev=1890426)
 * [WP Mobile Menu - The Mobile-Friendly Responsive Menu](https://wordpress.org/plugins/mobile-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobile-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobile-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/mobile-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobile-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobile-menu/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Rui Guerreiro](https://wordpress.org/support/users/takanakui/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/trigger-menu-from-button/#post-9270097)
 * Status: resolved