Menu - by equality - on WordPress WooCommerce support

This topic has 6 replies, 2 voices, and was last updated 7 years, 8 months ago ago by Eva Kemp

  • Avatar: equality
    equality
    Participant
    July 11, 2016 at 15:18

    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

    5 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    July 11, 2016 at 16:12

    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.

    Avatar: equality
    equality
    Participant
    July 11, 2016 at 16:37

    This code simply hide the background of the menu,but the menu exists!
    Where is the code for existing menu?
    At header.php?

    Avatar: Eva
    Eva Kemp
    Support staff
    July 11, 2016 at 17:07

    Hello,

    The theme menu code is:

    <?php 
    et_get_main_menu(); 
    et_get_main_menu('main-menu-right');
    ?>

    Regards,
    Eva Kemp.

    Avatar: equality
    equality
    Participant
    July 11, 2016 at 18:22

    There is a not a wp_nav_menu function?

    Avatar: Eva
    Eva Kemp
    Support staff
    July 11, 2016 at 18:33

    Hello,

    In header.php file menu is loaded with the code I gave you.

    Regards,
    Eva Kemp.

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.