Title: Disable the Plugin at fix width
Last modified: August 30, 2016

---

# Disable the Plugin at fix width

 *  [Rombey](https://wordpress.org/support/users/rombey/)
 * (@rombey)
 * [11 years ago](https://wordpress.org/support/topic/disable-the-plugin-at-fix-width/)
 * Hey,
    is it possible to disable the plugin for a fix width like for example 700px
   width???
 * Thx for help
 * [https://wordpress.org/plugins/megamenu/](https://wordpress.org/plugins/megamenu/)

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

 *  Thread Starter [Rombey](https://wordpress.org/support/users/rombey/)
 * (@rombey)
 * [11 years ago](https://wordpress.org/support/topic/disable-the-plugin-at-fix-width/#post-6210983)
 * Oky sry I’m pushing a bit 😉
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [11 years ago](https://wordpress.org/support/topic/disable-the-plugin-at-fix-width/#post-6211014)
 * Hi Rombey,
 * Please take a look at this link:
 * [https://maxmegamenu.com/documentation/faqs/hide-mobile-menu/](https://maxmegamenu.com/documentation/faqs/hide-mobile-menu/)
 * It wont disable the plugin at certain widths, it will just hide the menu. You
   can replace $reponsive_breakpoint with 700px or a value of your choice.
 * Regards,
    Tom
 *  Thread Starter [Rombey](https://wordpress.org/support/users/rombey/)
 * (@rombey)
 * [11 years ago](https://wordpress.org/support/topic/disable-the-plugin-at-fix-width/#post-6211027)
 * Ahhh thy for answer…okay it works but now my default menu is also hide…how can
   I dispayed my default menu at this width???
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [11 years ago](https://wordpress.org/support/topic/disable-the-plugin-at-fix-width/#post-6211047)
 * Hi Rombey,
 * MMM completely replaces your theme menu, it is not possible to display your old
   menu because it is no longer there (I’m assuming your theme is using the same
   menu to display the desktop and mobile menu).
 * You would need to:
 * 1. Disable MMM for your theme – put it back to how it was.
    2. Hide your theme
   menu on desktops (so it only displays on mobiles). 3. Create a new menu location
   just for Max Mega Menu under Appearance > Max Mega Menu > General Settings (rename
   the new location to ‘Desktop Menu’) 4. Insert the given PHP code into your themes
   header.php file, just above or below the existing wp_nav_menu call. You now have
   2 menus output by your theme. 5. Assign your menu to the Desktop Menu location
   and enable MMM for it. 6. Use the code from my last reply to hide the Desktop
   Menu on mobiles (so it only displays on desktops).
 * You should now have 2 menus:
 * – Your theme menu, only displayed on mobiles
    – Your mega menu, only displayed
   on desktops
 * Regards,
    Tom

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

The topic ‘Disable the Plugin at fix width’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/disable-the-plugin-at-fix-width/#post-6211047)
 * Status: not resolved