Personalized checkout and custom promotions with Shopify Scripts
Please, can anyone help me.
How do I change all Shopfy search icons to my own icons? I've looked everywhere and none of them work. It turns out that if I change some codes to mine, either the icon doesn't appear or my store is completely blank.
My theme is Dawn 14.0.
Thank you very much for your attention. I hope help.
Solved! Go to the solution
This is an accepted solution.
Hello @PedroPrado, To change this search icon in Dawn 14.0.0 please follow the steps below.
Edit code -> sections -> header.liquid -> check this svg with "#icon-search" You can change it here.
Edit code -> Sippets -> header-search.liquid -> Here that svg is called by that id "#icon-search".
Feel free to reach out if you have any questions or need assistance.
Best Regards.
This is an accepted solution.
Hi @PedroPrado
You can go Online Store > Themes > Edit code, open header-search.liquid file, search "icon-search", replace SVG code in this file with your own SVG
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- 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.
This is an accepted solution.
Hello @PedroPrado, The Problem is with your newly added SVG's height and width which are inline attributes of the SVG, whose values equal 2000mm.
Please see the screenshots below.
Before width and height.
After removing width and height.
Please check with these changes.
If I managed to help you then, don't forget to Like it and Mark it as a Solution!
Feel free to reach out if you have any questions or need assistance.
Best regards,
Darshan.
This is an accepted solution.
Hello @PedroPrado, To change this search icon in Dawn 14.0.0 please follow the steps below.
Edit code -> sections -> header.liquid -> check this svg with "#icon-search" You can change it here.
Edit code -> Sippets -> header-search.liquid -> Here that svg is called by that id "#icon-search".
Feel free to reach out if you have any questions or need assistance.
Best Regards.
Hello. Thanks for responding.
When I do it this way my website is completely blank and the search icon doesn't even appear.
Thank you for your attention. I hope for your help.
@PedroPrado, Please share the preview link.
Thanks!
Sorry, but I don't know how to do this.
@PedroPrado See the screenshot below click on that green button and in the pop-up you will get a URL. Please share that URL.
That's it!
thank you for the patience
https://1kxantij1nq6p11s-78296449301.shopifypreview.com
I want to put this svg there:
I don't think it's wrong because I managed to put it on the bag icon.
This is an accepted solution.
Hi @PedroPrado
You can go Online Store > Themes > Edit code, open header-search.liquid file, search "icon-search", replace SVG code in this file with your own SVG
- Helpful? Like & Accept solution! - Support me? Buy me a coffee
- 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.
When I do it his way, he even changes the icon, but my store is completely white. Look at the photo there.
The blank photo is my website after doing what you said to do.
Thank you for your attention. I wait for your response.
Hello @PedroPrado, The store looks completely fine! It's not in a white color or blank!! See the screenshot below.
That's because I'm back to normal. Let me do the process again, then you can take a look, please.
This is an accepted solution.
Hello @PedroPrado, The Problem is with your newly added SVG's height and width which are inline attributes of the SVG, whose values equal 2000mm.
Please see the screenshots below.
Before width and height.
After removing width and height.
Please check with these changes.
If I managed to help you then, don't forget to Like it and Mark it as a Solution!
Feel free to reach out if you have any questions or need assistance.
Best regards,
Darshan.
My God, thank you so much for your help and patience! Everything went fine!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025