Comments 2Matheus started the conversationFebruary 8, 2017 at 4:10pmHello! I Wish to disable the search icon on header menu, i dont want that the user make any searchs in my site. How i can do it?Thank You! 7,121Oliver repliedFebruary 8, 2017 at 4:18pmHI! 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() { remove_filter('wp_nav_menu_items', 'thegem_menu_item_search', 10); } add_action('init', 'thegem_child_init'); Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver Matheus replied privately Oliver replied privately 2pat_bals repliedMarch 26, 2017 at 12:05amHello Gregor,When i use this code on a vertical header the search bar is still visable. Can you please help me?Patrick 7,121Oliver repliedMarch 27, 2017 at 1:26pmPls. give link to your site.Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. Regards, Oliver 2pat_bals repliedMarch 27, 2017 at 3:45pmhttp://www.video3d.nl/ 7,121Oliver repliedMarch 27, 2017 at 3:46pmCss: .vertical-minisearch { 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 Sign in to reply ...
Hello! I Wish to disable the search icon on header menu, i dont want that the user make any searchs in my site. How i can do it?
Thank You!
HI!
pls. use following css:
or in the TheGem child theme add next code to functions.php file:
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Hello Gregor,
When i use this code on a vertical header the search bar is still visable. Can you please help me?
Patrick
Pls. give link to your site.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
http://www.video3d.nl/
Css:
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver