Solved

Change Icon Color

sixdreamz
Excursionist
46 0 14

Hey,

 

i want my icon to change color when i switch from my landing page to the other sites. currently its white.

is there a way where it stays white when im on the landing page, but changes color to black when im on my other pages?

 

url: sixdreamz.com

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6383 1533 1903

This is an accepted solution.

Hi @sixdreamz 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes"

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

{% unless template.name == 'index' %}
<style>
a#cart-icon-bubble path {
    fill: black !important;
}
</style>
{% endunless %}

 

And Save. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.

View solution in original post

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
6383 1533 1903

This is an accepted solution.

Hi @sixdreamz 

Check this one. 

From your Shopify admin dashboard, click on "Online Store" and then "Themes"

Find the theme that you want to edit and click on "Actions" and then "Edit code".

In the "theme. Liquid" file. Find the </body> tag and paste the code below before the tag. 

 

{% unless template.name == 'index' %}
<style>
a#cart-icon-bubble path {
    fill: black !important;
}
</style>
{% endunless %}

 

And Save. 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.