Change Icon Color

Solved

Change Icon Color

sixdreamz
Explorer
110 0 37

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
10202 2422 3068

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Reply 1 (1)

Made4uo-Ribe
Shopify Partner
10202 2422 3068

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.