MegaMenu Location
URL to the page in question:
http://
-
Hi Bill, I’m trying to configure this Mega Menu but it seems to conflict with the theme’s styles a bit. According to the plugin, I should add this coding manually to override:
<?php ubermenu( 'main' , array( 'theme_location' => 'primary' ) ); ?>
But my question is, where would I insert this?
Any thoughts?
Steve
Good Morning Steve,
You would want to make that edit in the menu.php file. It’s located in the includes folder. You’ll want to edit this line:
<?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => 'nav' ) ); ?>
Also this is one file in the includes folder that you can copy into the child theme without any issue. It’s not a “function” file, but is just for layout. Create a folder in your child theme called includes, copy this file to it and you can edit away.
Take care,
Bill
- The topic ‘MegaMenu Location’ is closed to new replies.