How do I remove the search icon?

How do I remove the search icon?

Simon159
Explorer
135 0 26

Hey, how do i remove the search icon in the header?

https://changepodshop.com/products/the-change-pod

Screenshot 2025-03-18 at 12.04.22 AM.png

Replies 4 (4)

Mustafa_Ali
Explorer
346 28 56
<style>
details-modal.header__search {
    display: none !important;
}
</style>

MustafA16_0-1742271222484.png

Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the <style> tag before the body ----->
if this code work please do not forget to like and mark it solution

 

Dan-From-Ryviu
Shopify Partner
11612 2276 2456

HI @Simon159 

You can add this code to Custom CSS of Header in Online Store > Themes > Customize to remove that icon.

.header__icon--search { display: none !important; }

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...
Sign up now.

Huptech-Web
Shopify Partner
1169 234 264

Hello @Simon159 

  • Go to Online Store > Themes.
  • Click on "Actions" next to your active theme and select "Edit Code"

In the Assets folder, find and click on base.css or theme.css


Add the following css code

 

 

<style>
.header__icon--search {
  display: none !important;
}
</style>

 

 

Option 2:
Find and click on header.liquid or a similarly named file that controls the header layout.
Within this file, look for the code that renders the search icon.
Delete or comment out this block of code.

If you need any further assistance, feel free to ask. If you found my help useful, kindly consider liking this message and marking it as the Accepted Solution.


Best regards,
MP

 

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at info@huptechweb.com or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

GTLOfficial
Shopify Partner
831 171 187

Hello @Simon159 
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.

.header__search {
display: none !important;
}

result
35.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh