Hi,
I would like to have the header transparent. I have tried everything, but it is not working.
Anyone who can help? Website is lash-ease.com
Thank you
A user sought help making the header transparent on their Shopify store (lash-ease.com) using the Prestige theme.
Solution Provided:
Multiple contributors offered CSS code snippets to be added to the theme.liquid file, specifically targeting the homepage template. The code successfully made the header transparent by setting background: transparent !important.
Additional Customizations Addressed:
{% if template.name == 'index' %} to limit effect to homepageStatus: Resolved. The user confirmed all solutions worked successfully. The discussion involved iterative troubleshooting with code adjustments to refine the implementation.
Hi,
I would like to have the header transparent. I have tried everything, but it is not working.
Anyone who can help? Website is lash-ease.com
Thank you
Hey @M161
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @M161 ,
Go to Shopify Admin → Online Store → Themes.
Click Edit Code.
Open the Layout folder and find theme.liquid.
Before the tag, paste this code:
{% if template.name == 'index' %}
{% endif %}
Thanks it works!
In prestige you have the option to have a different logo for a transparante header. Is it possible to show that logo? Or change the logo only for the homepage? And I see the header is also transparent on the product page, but if possible I would only like the homepage.
Remove this
background: #0000002e !important;
Add this code below
background: transparent !important;
Thanks!! is it possible to do a different logo only on the homepage? In prestige you have the option to have a different logo for a transparante header, but shows only on slideshow.
the logo doesn’t show now
Try this code.
{% if template.name == 'index' %}
{% endif %}
Thanks a lot!
Hi @M161
To complete your requests, please follow these steps:
x-header.header *{
color: white !important;
}
h1.header__logo a > img:nth-child(2) {
display: none !important;
}
h1.header__logo a > img:nth-child(3) {
display: block !important;
opacity: 1 !important;
position: relative !important
}
Here is the result:
I hope this helps
Best,
Daisy