Double Mobile Button - "Max Mega Menu PlugIn"

Hello,

I am developing another Wordpress-site with the X-Theme.

For this site I am using the PlugIn “Max Mega Menu” - most of it works great.
I have just one problem. On mobile Screensize, there are 2 Mobile Menu Buttons.
(1 of the X Theme and 1 of the Max Mega Menu)

So right now I have to open the first Mobile Button, than open the 2nd Mobile Button, than I see the Menu).

So here is the question:

  • How can I complety disable the Mobile Button of the X Theme?

The Documentation of the PlugIn says I have to edit the file _nav-primary.php
But I cant find this file on my FTP Server.
https://www.megamenu.com/documentation/x-theme/

So how can I disable the Mobile Button of the Theme or set the Max Mega Menu Mobile as Primary?

Thanks for your help :wink:

Best Greetings
Andy

Hello Andy,

We can find the actual file on this folder here:
/wp-content/themes/x/framework/legacy/cranium/headers/views/global/_nav-primary.php
Copy that file on the same folder on your child theme here:
/wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/_nav-primary.php
The same folder path doesn’t exist yet on your child theme. You need to create it.

There’s changes on file structure so that is the updated folder path. Then follow the suggestion on how to incorporate it on the file on the child theme…

Hope this helps.

Hey Lely,

thanks for your advice. I found the file in the new folder.

I replaced the code and copy it in the child theme folder.

Everything works fine.

Thank you and have a nice day!
Andy

You’re most welcome Andy!
We’re glad @Lely were able to help you out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.