Anyone who can help me with my cart and account icon which doesn’t want to match with the rest of the textcolours of my header?
Topic summary
A user’s cart and account icons are not matching the header text colors on their Shopify store.
Initial Solution Attempt:
- GemPages support provided CSS code to add before
</head>in the theme.liquid file - This fixed the homepage but created problems on other pages
Alternative Solutions Offered:
- ExpertRookie suggested adding CSS to
base.cssfile targeting.template-index .site-header-transparent .header__icon svgwith white fill - LitExtension recommended similar approach: adding
header__icon svg { fill: #ffffff !important; }to bottom ofbase.css
Current Status:
The issue appears partially resolved (homepage working) but remains unresolved for other pages. Multiple CSS-based solutions have been proposed focusing on the base.css file rather than the initial theme.liquid approach.
Hello @MYWOOD ,
It’s GemPages support team and glad to support you today.
I would like to give you the recommendation to support you so kindly follow the steps below:
- Go to Online Store > Theme > Edit code of your current theme
-
Open your theme.liquid theme file
-
Paste the below code before
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
Hi Gempages,
This fixed the homepage but occurs a problem on all the other pages…
You think we can fix this?
HI @MYWOOD
You can try follow this path:
Themes => edit code => asset => base.css
and add this code to bottom of the file base.css
.template-index .site-header-transparent .header__icon svg{
fill: white;
}
Man can i just call you awesome?!
Thank you!!
Hi @MYWOOD ,
Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:
.header__icon svg {
fill: #ffffff !important;
}
Hope it helps!


