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 #1138621
Search Feature
Closed

Comments

  • Farah started the conversation

    Hello,

    I was wondering if there was any way I could remove the search feature on the website?

  •  7,121
    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

  •   Farah replied privately
  •  7,121
    Oliver replied

    HI!

    use this 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

  • Farah replied

    THANK YOU!!!

  •   Oliver replied privately