Hello Summer Sale!
Exclusive season-opening discount on TheGem theme.
Limited time offer.

Okay
  Public Ticket #1203709
Remove Search Icon
Closed

Comments

  • DesignForOnline started the conversation

    Hi, how do I remove the search icon from the top menu?

  •  7,280
    Oliver replied

    HI!

    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

  • lhberg replied

    Hi Gregor,

    I tried both solutions, but the search box in the hamburger main menu is still there.

    Any other solution?

    Thanks,

    Lukas

  •  7,280
    Oliver replied

    Pls. provide the wp-admin access.

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

    Regards, Oliver

  • lhberg replied

    Hi,

    here you go:

    Regards,

    Lukas

  •  7,280
    Oliver replied

    URL pls.

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

    Regards, Oliver

  • lhberg replied

    sorry, indeed.


  •  7,280
    Oliver replied


    pls. use following css:

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

     

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

    Regards, Oliver

  • lhberg replied

    Solved, many thanks!

  •  7,280
    Oliver replied

    Welcome!

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

    Regards, Oliver