I need help with making my header transparent on certain pages (not al of them) I have been able to make it transparent on my homepage and my page with all my products. But I can’t seem to make the header transparent on other pages.
I am so new to this. Do I need to give you acces to something? Because my site is not live yet. So you will need a password to enter but these are the pages where I would like a transparent header:
to apply a transparent header on specific pages assign unique body or page classes to those templates. then, target those classes in your CSS to set the header background to transparent. ensure your theme’s layout or javascript doesn’t override the style on those pages
Add the following code in the bottom of the file above tag
{% if page.handle == 'bodegas-tierra' or page.handle == 'paul-van-dinter' or page.handle == 'gonzalo-celayeta' or page.handle == 'aurelio-feo' or page.handle == 'winetasting' %}
{% endif %}
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.