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
ConflictedMobile Menu
http://www.wpmobilemenu.com/-
This topic was modified 8 years, 5 months ago by
mitzilla.
-
This topic was modified 8 years, 5 months ago by
mitzilla.
-
This topic was modified 8 years, 5 months ago by
mitzilla.
The page I need help with: [log in to see the link]
-
This topic was modified 8 years, 5 months ago by
-
Hi @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
PhilGreat, will try.
Is there a state in age gate that I can set a conditional statement to?
Thanks for the quick reply.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
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.
-
This reply was modified 8 years, 5 months ago by
The topic ‘Mobile menu plugin conflict’ is closed to new replies.