Title: Mobile menu plugin conflict
Last modified: December 7, 2017

---

# Mobile menu plugin conflict

 *  [mitzilla](https://wordpress.org/support/users/mitzilla/)
 * (@mitzilla)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-plugin-conflict/)
 * Hello,
    I’m getting a conflict with the Mobile Menu plugin I’m using. In mobile
   the nav bar is appearing on top and the fly-out menu is showing under the age
   gate interface. I was hoping to I could just disable the Mobile menu display 
   while the age is being verified. Is there a better way or is there a boolean 
   I can grab that I can use to do this? Thanks in advance Conflicted
 * Mobile Menu
    [http://www.wpmobilemenu.com/](http://www.wpmobilemenu.com/)
    -  This topic was modified 8 years, 5 months ago by [mitzilla](https://wordpress.org/support/users/mitzilla/).
    -  This topic was modified 8 years, 5 months ago by [mitzilla](https://wordpress.org/support/users/mitzilla/).
    -  This topic was modified 8 years, 5 months ago by [mitzilla](https://wordpress.org/support/users/mitzilla/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmobile-menu-plugin-conflict%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-plugin-conflict/#post-9760661)
 * Hi [@mitzilla](https://wordpress.org/support/users/mitzilla/),
 * Looks like the mobile menu hooks come after the age gate ones. Until I can find
   a better solution, you can hide the mobile menu when the age gate is present 
   with some CSS:
 *     ```
       body.age-restriction .mobmenu {
           display: none;
       }
   
       .age-restriction .mobmenu-push-wrap {
           padding: 0;
       }
       ```
   
 * Not the best solution, but will work for now. I’ve got a pile of things to look
   at on the plugin and so features to add, but time is not being my friend!
 * Thanks
    Phil
 *  Thread Starter [mitzilla](https://wordpress.org/support/users/mitzilla/)
 * (@mitzilla)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-plugin-conflict/#post-9760988)
 * Great, will try.
    Is there a state in age gate that I can set a conditional statement
   to? Thanks for the quick reply.
 *  Plugin Author [Phil](https://wordpress.org/support/users/philsbury/)
 * (@philsbury)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-plugin-conflict/#post-9760996)
 * There’s not at the moment, I’ve got a list of things to do to the plugin like
   adding custom actions where that would probably be most relevant. It’s going 
   to get a bit of a refactor so that adding support for third parties is a little
   easier
 *  Thread Starter [mitzilla](https://wordpress.org/support/users/mitzilla/)
 * (@mitzilla)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-plugin-conflict/#post-9764730)
 * Your css snippet worked perfectly. I placed it in the css file located in wp-
   content/plugins/age-gate/public/css/age-gate-public.css
 * Thanks again and awesome plugin!
    -  This reply was modified 8 years, 5 months ago by [mitzilla](https://wordpress.org/support/users/mitzilla/).

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

The topic ‘Mobile menu plugin conflict’ is closed to new replies.

 * ![](https://ps.w.org/age-gate/assets/icon-256x256.png?rev=2783003)
 * [Age Gate](https://wordpress.org/plugins/age-gate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/age-gate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/age-gate/)
 * [Active Topics](https://wordpress.org/support/plugin/age-gate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/age-gate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/age-gate/reviews/)

## Tags

 * [menu](https://wordpress.org/support/topic-tag/menu/)
 * [mobile](https://wordpress.org/support/topic-tag/mobile/)

 * 4 replies
 * 2 participants
 * Last reply from: [mitzilla](https://wordpress.org/support/users/mitzilla/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-plugin-conflict/#post-9764730)
 * Status: not resolved