How can I change the search icon in the Dawn theme?

Hey, just wondering if anyone knows how to change the default search icon in the header to a custom icon. I was able to change the cart icon and the account icon by changing some of the code in their snippet .liquid files. However, not sure how to change the search icon to a custom one.

Capture35.PNG

Currently on Dawn theme version 2.3 as well

Hi,

You can change the search icon by modifying the sections/header.liquid.

Please find the code below in header.liquid (line 96 - Dawn theme version 5.0).


Replace the symbol part (as below) to another svg image to fit your need.


Hope it helps.

Thanks.

1 Like

Thanks for your help, this solved my issue

Hi there, how can I change the search icon to a .png icon file instead of using svg