Shopify themes, liquid, logos, and UX
Hi there my logo is white on my home page which I want, but as the background is white on all the other pages I want a black logo on these- can someone please help me with this!
Hi @smezstudios
- Go to Online Store -> Theme -> Edit code.
- Find the file Layouts/theme.liquid and paste the code below at the bottom of the file."
{% if template.name == 'index' %}
<style>
.header__heading-link.link.link--text.focus-inset {
background: black;
}
</style>
{% endif%}
hi unfortunately that did not work at all and is not what im after.
I want the logo to stay exactly the same on the homepage like so.
but on my other pages the logo to be black- as you can see right now it is not showing up. I think its because i have coded in a transparent header for the home 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