Special Offer: Buy All 13 Premium WordPress Customizable Themes for Just $53.99. Learn more

How to Remove Header Search Icon

In some cases you may want to remove the header menu search icon. It will require a small code change. Here are all of the necessary steps:

 

1. Navigate to Admin Panel -> Left Menu -> Appearance -> Editor

2. Open yourtheme/inc/utilities.php

3. Find and DELETE the following code:

$result .= ‘<li><a class=”search-form-icon” href=”#” title=”‘.__(‘Search’, ’tishonator’).’”></a><div id=”search-popup-content”>’;

ob_start();
get_search_form();
$result .= ob_get_clean();

$result .= ‘</div></li>’;

4. Save Changes


Best-selling Products:

Newsletter Subscription

Leave a Reply