Need other menu below the main menu - by voodoolopez

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

  • Avatar: voodoolopez
    voodoolopez
    Participant
    November 5, 2015 at 12:13

    Hi! I¡m working with the Royal Theme and the client need a secondary menu always visible for premium contents.

    I’d created a child theme, and inserted this lines to functions.php in royal-child template:

    function extra_setup() {
    register_nav_menu (‘premium-menu’, __( ‘Premium Menu’, ‘Este es el menu premium’ ));
    }
    add_action( ‘after_setup_theme’, ‘register_premium_menu’ );

    Then. I’d add this line on the bottom of the Header.php in royal-child template, after the line <?php get_template_part(‘headers/header-structure’, $hstrucutre); ?>:

    <div class=”premium-menu”>
    <?php wp_nav_menu( array( ‘theme_location’ => ‘premium-menu’, ‘menu_id’ => ‘premium-menu’ ) ); ?>
    </div>

    That shows the menu below the actual one, but I need to style and also this menu need to appear in mobile version. How can do that? what it’s the best way to do full editable as the main menu?
    I can manage the elements of the menu on the menu area of wordpress, but I need this menu responsive for mobile and tablets also.

    NOTE: below this new menu,in the site there is actually a revolution slider that I’d turned into menu, using the revolution slider place on top of pages, not in header. I need the new submenu i header area.

    thanks in advance

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    November 5, 2015 at 17:33

    Hello,

    You can show 2 menus using header type 17 and select the second menu in “Main menu (right)” field in Appearance > Menus > Manage Locations tab.

    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 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.