Shopify themes, liquid, logos, and UX
Hello, I would like to change color of the text in the header and also change color of the search and cart icon. Thanks
https://c31a31-2.myshopify.com/
pass: owhown
Solved! Go to the solution
This is an accepted solution.
Add this code in your base.css or theme.css:
.header__menu-item, .header__active-menu-item, .header__icon {
color: white !important;
}
Replace 'white' with the color you want! (You can also use hexadecimal values, for example: #3B8B58)
This is an accepted solution.
Add this code in your base.css or theme.css:
.header__menu-item, .header__active-menu-item, .header__icon {
color: white !important;
}
Replace 'white' with the color you want! (You can also use hexadecimal values, for example: #3B8B58)
Thanks for the solution. Can you also do code that removes the underline and color for hover and active page of the menu?
Hi @Cukrovinky
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
header a, header span, header svg {
color: #fff !important;
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hello @Cukrovinky 👋
In Shopify Admin, you can go to Edit theme code, open file base.css and add this code at the bottom
.header__menu-item,
.header__active-menu-item,
.header__icon svg {
color: #FFFFFF !important;
}
The result
Hope that helps.
Hi Cukrovinky,
In Shopify Admin, navigate to "Edit theme code", then open the "base.css" file and add the following code at the end:
.header__menu-item, .header__active-menu-item, .header__icon{
color: red;
}
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Hi cukrovinky,
Follow these steps :
1) Go to Online Store
2) Edit Code
3) Find base.css file
4) And put this code in the botom
.header__menu-item span {
color: white;
}
.header__icon .icon {
color: white;
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025