This topic has 6 replies, 2 voices, and was last updated 7 years, 8 months ago ago by Eva Kemp
hello,
i want to use ubermenu and replace the existing menu .
The code i must to use it’s :
<?php if( function_exists( ‘ubermenu’ ) ): ?>
<?php ubermenu( ‘main’ , array( ‘theme_location’ => ‘primary’ ) ); ?>
<?php else: ?>
<!– The theme’s menu code goes here –>
<?php endif; ?>
So,who is the theme’s menu code and where?
Or there is an other mode to make ubermenu to cover whole the menu (See how it’s now)?
thank you
Hello,
If you want to hide the current menu add this code in Global Custom CSS:
.header-type-8 .menu-wrapper {
border-top: none;
border-bottom: none;
}
header.header .menu-wrapper {
background: transparent;
}
Regards,
Eva Kemp.
This code simply hide the background of the menu,but the menu exists!
Where is the code for existing menu?
At header.php?
Hello,
The theme menu code is:
<?php
et_get_main_menu();
et_get_main_menu('main-menu-right');
?>
Regards,
Eva Kemp.
There is a not a wp_nav_menu function?
Hello,
In header.php file menu is loaded with the code I gave you.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up