All things Shopify and commerce
Hi!
I currently have a transparent header on the landing page with white content (logo, drawer menu and icons). I managed to make the header background white with a black logo on all the other pages but I'm struggling to make the icons and the drawer menu black/dark blue on the other pages. Does anyone know how to do this? Would appreciate it a lot!
This is what the other pages look like:
This is what the landing page looks like (nothing needs to be changed here)
This is what I want the other pages to look like:
Kind regards,
Aclothingbrand.
someone asked for my email to fix it but he deleted the reply
Would you mind sharing your store URL? Thanks!
Hi! I've send you a private message.
Thanks for the info, check this one.
Please replace this on the code you have in the theme.liquid. And Place this code before the </head>
{% if template.name == 'index' %}
<style>
.header__icon.link,
.header__active-menu-item,
.disclosure__button,
.header__heading-link .h2 {
color: white !important;
}
</style>
{% else %}
<style>
.header__icon.link,
.header__active-menu-item,
.disclosure__button,
.header__heading-link .h2 {
color: black !important;
}
</style>
{% endif %}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024