Shopify themes, liquid, logos, and UX
I would like to change the cart icon's color to red which is in the nav bar of the site, please refer to the picture below for clarification
As you can see, currently the cart icon is on black color and I would like to change it to red color
Password: testingpage
Thank you, Any sources or help are much appreciated!
Solved! Go to the solution
This is an accepted solution.
Hello @justauser
You can add code by following these steps to set red colr of cart icon
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>
.header__icon--cart svg {
fill:#ff0000 !important;
}
</style>
This is an accepted solution.
Hello @justauser
You can add code by following these steps to set red colr of cart icon
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>
.header__icon--cart svg {
fill:#ff0000 !important;
}
</style>
I did this and it worked, but is there any way to have the home page icon color be different than every other page icon color? I have a header image that is dark, but every other page is light colored.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025