Hello,
I’d like the cart and account icons fill in my header to be a specific hex color (#e5da01) and would still like to keep the outline black.
How can I do that?
Thank you!
A user wants to change the cart and account icons in their Shopify Dawn theme header to a specific yellow color (#e5da01) while keeping the black outline.
Initial Solution Attempted:
.header__icon.cart-icon and .header__icon classesProblem Encountered:
Resolution:
Hello,
I’d like the cart and account icons fill in my header to be a specific hex color (#e5da01) and would still like to keep the outline black.
How can I do that?
Thank you!
Follow these steps:
Go to Online Store → Theme → Edit code
Open your base.css file and paste the following code at the bottom:
.header__icon, .header__icon--cart .icon {
color: #e5da01;
}
Thanks
Hi Guleria,
Thank you for your response.
I added the code to the bottom of my base.css file but it doesn’t work.
Anything else I can do?
Thank you!
Seems you break the existing css.
Revert the changes and add css in the bottom but after this closing tag }
It works now, nbut it’s making the outline of the icons yellow.
I want the outline to be black and the fill to be yellow.
How can I do that?
Thank you so much
Sorry not possible with these icons
ok thank you