Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1366561
How to create 2 separate menus - one on the top navbar and one on the toggle/hamburger side menu
Closed

Comments

  • Jeffrey started the conversation

    I need to create 2 separate menus. One for the top nav bar and one for the right side toggle menu. I set the option to 100% verticale and hamburger menu but only the hamburger shows and I have looked everywhere to set separate menus fro each. Also, I do not want the search and social in the hamburger slide out menu. I ca use CSS to display none to take them out but I would rather find where the setting are to remove them properly. Or to add things in here.

  •  7,092
    Oliver replied

    HI!

    1. Sorry for possible misunderstanding, you need to have default and vertical menu on the page?

    2. You need to edit:

    /wp-content/themes/thegem/header.php

    <?php if(thegem_get_option('header_layout') == 'vertical') : ?>   
    <div class="vertical-menu-item-widgets">      
    <?php         add_filter( 'get_search_form', 'thegem_serch_form_vertical_header' );         
    get_search_form();         
    remove_filter( 'get_search_form', 'thegem_serch_form_vertical_header' );      ?>
    <div class="menu-item-socials socials-colored"><?php thegem_print_socials('rounded'); ?></div></div>
    <?php endif; ?>

    For the safety updates copy this file to the child theme before the editing

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Jeffrey replied

    Hello, thank you for helping. I checked and that bit of code is already in header.php. Sorry, I think I didn't explain well. I was hoping to have both the standard 100% width menu on the top navbar, as well as a hamburger menu to slide out for the right side. In the theme options I saw 100% width and hamburger (see attached image) but after going through you theme demos, I do not see that on any demo. Just wondered if it was possible. If not, I can find a way around. Thanks again. 

  •  7,092
    Oliver replied

    HI!

    Sorry, by default it's not possible. Only via code changes.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • Jeffrey replied

    Ok cool thanks! You just saved me a lot of time. Cheers

  •  7,092
    Oliver replied

    Feel free to contact us if you need help.

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver