Shopify themes, liquid, logos, and UX
Hello everyone, I managed to add a transparent header to my homepage but now it has added it to all pages which makes it hard to read (see screenshot).
I want to keep it on the homepage but remove it from other pages, or if I could make the text black on other pages this would also work. Thanks!!
Hey @astralresorcez
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
Could you please share your store URL with me?
Looking forward to hearing from you soon.
Best,
Daisy - Avada
I'm not sure if you received our latest message.
Looking forward to hearing from you soon. Thank you!
Best,
Daisy - Avada SEO Suite app
Please wrap the code you added to make the header transparent into this code and put it into the theme.liquid file, after <head>
{% if template == 'index' %}
<style>
// place your code here
</style>
{% endif %}
- Helpful? Like & Accept solution! - Support me: Buy me a coffee
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Hello @astralresorcez,
Open Online Store > Themes > Edit code > paste the code in theme.css/base.css
/* Make header transparent only on the homepage */
.home .header {
background-color: transparent;
}
/* Default header style for all other pages */
.header {
background-color: #fff; /* or whatever color you want for other pages */
color: black; /* Change text to black */
}
thanks!
Hey! Thanks so much!!
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