Shopify themes, liquid, logos, and UX
Hi, can anyone help me change the color of the header items (text / icons) to black, without changing them of the homepage ? I have a transparent header there
https://cl1jel0t3jrh2phm-51658555567.shopifypreview.com
Solved! Go to the solution
This is an accepted solution.
- Here is the solution for you @Daniel19901
- Please follow these steps:
- Then find the theme.liquid file.
- Add the following code before the </body> tag
{% if template != "index" %}
<style>
.header__menu-item span, .header__icon.link{
color: black !important;
}
</style>
{% endif %}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
This is an accepted solution.
- Here is the solution for you @Daniel19901
- Please follow these steps:
- Then find the theme.liquid file.
- Add the following code before the </body> tag
{% if template != "index" %}
<style>
.header__menu-item span, .header__icon.link{
color: black !important;
}
</style>
{% endif %}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025