What's your biggest current challenge? Have your say in Community Polls along the right column.

Empire theme: I have a white header background. It looks like the cart icon is also white.

Solved

Empire theme: I have a white header background. It looks like the cart icon is also white.

mqecommerce
Excursionist
15 1 6

Hi

 

I have an Empire theme - I have a white header background. It looks like the cart icon is also white as shown in the screenshot. I need the cart icon to be in black.

 

mqecommerce_0-1711986218138.png

 

Accepted Solutions (2)
niraj_patel
Shopify Partner
2378 514 507

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
 .site-header-right span.site-header-cart-icon.site-header-cart-icon--svg {
       color: #000 !important;
  }
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

View solution in original post

Made4uo-Ribe
Shopify Partner
9186 2191 2709

This is an accepted solution.

Hi @mqecommerce 

Please, be careful of adding some codes in your store. You have this code which is making the cart white. 

Made4uoRibe_0-1711987192194.png

You can remove the code above or add another code. It your choice. 

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 "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.site-header-right .site-header-cart--button {
    color: black !important;
}

 

And save. 

Result:

Made4uoRibe_1-1711987318773.png

Note: If the code have the !important that mean its forcely calling to change. Try to add without the !important if it listens. If not then add. Please, refresh your browser when you add some changes for proper outcome. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.

View solution in original post

Replies 5 (5)

niraj_patel
Shopify Partner
2378 514 507

Hello @mqecommerce 

Can you share store URL?

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
mqecommerce
Excursionist
15 1 6
niraj_patel
Shopify Partner
2378 514 507

This is an accepted solution.

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
 .site-header-right span.site-header-cart-icon.site-header-cart-icon--svg {
       color: #000 !important;
  }
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
gnicko
Excursionist
23 0 15

This will work, but it is not the proper way to change display styles for a theme. In the future it may make changing colors very difficult.

Made4uo-Ribe
Shopify Partner
9186 2191 2709

This is an accepted solution.

Hi @mqecommerce 

Please, be careful of adding some codes in your store. You have this code which is making the cart white. 

Made4uoRibe_0-1711987192194.png

You can remove the code above or add another code. It your choice. 

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 "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.site-header-right .site-header-cart--button {
    color: black !important;
}

 

And save. 

Result:

Made4uoRibe_1-1711987318773.png

Note: If the code have the !important that mean its forcely calling to change. Try to add without the !important if it listens. If not then add. Please, refresh your browser when you add some changes for proper outcome. 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

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.
Create custom Shopify pages effortlessly with PageFly's drag-and-drop ⚙️.