Shopify themes, liquid, logos, and UX
Hi,
i want to change the Font Color of my Header but only on the Page when you enter my Website. At the moment its Black but i want it to be white. When i change it in Shopify the Color of the Header changes on every Site. I really only want it to be white on the Main Page.
URL: sixdreamz.com
Solved! Go to the solution
This is an accepted solution.
{% if template == 'index' %}
<style>
.header__menu-item {
color: #fff;
}
.header-localization .disclosure .localization-form__select {
color: #fff;
}
.modal__toggle-open {
color: #fff;
}
.header__icon .icon {
color: #fff;
}
.header__active-menu-item {
color: #fff;
}
</style>
{% endif %}
This is an accepted solution.
{% if template == 'index' %}
<style>
.header__menu-item {
color: #fff;
}
.header-localization .disclosure .localization-form__select {
color: #fff;
}
.modal__toggle-open {
color: #fff;
}
.header__icon .icon {
color: #fff;
}
.header__active-menu-item {
color: #fff;
}
</style>
{% endif %}
Hi @sixdreamz
Thank you for your response. It's good to know that it's worked for you. Kindly feel free to get back to me if you need any further assistance.
If helpful then please Like and Accept Solution.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn 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, 2025