Change color for search button/magnifying glass on Impact theme

IdolBeauty
Visitor
1 0 0

Hi! 

 

I would like to change color for the search button on Impact theme. Its the little icon looking like a magnifying glass. 

 

Eventually also change the icon picture if possible. I saw a thread here about changing the icon but i didn't find the code in header liquid. Is it possible for codes to be different for "search button" in different themes?

 

anyway, kindly provide me with some codes for that. Thanks alot! ❤️

Replies 2 (2)
Natasha-Saed
Shopify Partner
303 32 55

Hi,

 

You can change the color of your icon, from the icon.liquid file.

NatashaSaed_0-1697570385741.png

 

Go to online store, Edit code, and then search for icon.liquid

once you open it search on the file for the word search and you can adjust the parameters on that section to your desired color

NatashaSaed_1-1697570473461.png

 

Let me know if it worked with you by accepting my solution.

 

Have a nice day. 💕

If my solution helped you don't forget to accept it to help others.
===================================================================
And if you really like my support share a cup of coffee with me paypal.me/freemindsint
PageFly-Noah
Globetrotter
561 130 130

 

Hi @IdolBeauty 

 

This is Noah from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.header__icon-list [aria-controls="search-drawer"] {
color: red;
}
</style>

PageFlyNoah_0-1697588447120.png

 

Hope this can help you solve the issue 

 

Best regards,

Noah | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.