remove shopify search button

How to delete the search button in shopify?

Rate this article

Share this article

Some Shopify website owners might not want to have the Shopify search box on their website. The below image depicts the search button in the Shopify store clearly.delete shopify search button

To delete or disable the search icon in Shopify, follow below steps:

Step 1: First Locate the search icon element from the store home page.

Locate Search Icon

Step 2: Confirm setting display: none will make it not display and Copy the selector used for the search icon

Confirm search icon is not displayed

Step 3: Locate the base.css file under assets in the Shopify admin panel.

edit theme

details-modal.header__search {
    display: none !important;
}

 
set display none in base css file
 
 
Step 4: Save and check on the store home page
 
Search icon removed on home page
 

By following the above steps, the search icon of any theme can be removed. Most of the time, this solution works as we take the exact DOM element.

 

Add great search to your Shopify store

Are you showing the right products, to the right shoppers, at the right time? Contact us to know more.
You may also like