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 #1288399
Search button
Closed

Comments

  • Plamen started the conversation

    Hello, 

    How do I get rid of the search button in the main menu? I have attached a screenshot. 

    Thank you! 

  •   Plamen replied privately
  •  7,092
    Oliver replied

    HI!

    pls. set check box Hide Search Icon in the theme options.

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

    Regards, Oliver

  • Plamen replied

    Hello, 

    Unfortunately I don't see the same thing you do. Please see the screenshot. 

    Thank you! 

  •  7,092
    Oliver replied

    HI!

    Seems you have old theme version, 

    pls. use following css:

    li.menu-item.menu-item-search {    
    display: none !important;
    }

     

    or in the TheGem child theme add next code to functions.php file:

    function thegem_child_init_icon() {    remove_filter('wp_nav_menu_items', 'thegem_menu_item_search', 10);
    }
    add_action('init', 'thegem_child_init_icon');

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

    Regards, Oliver

  • Plamen replied

    The first one worked perfectly! Thank you very much.

  •   Oliver replied privately
  • Plamen replied

    Done! Thank you. 

  •  7,092
    Oliver replied

    Thank you so much!

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

    Regards, Oliver