Using Vitality Theme - How can I make the header transparent

Thanks in advance for your help! Need to modify a Hubspot theme (Vitality) to have a transparent header…seems more complicated than I hoped. I have HTML and CSS experience but having trouble identifying all the places that I need to make changes so it works!

Hi @socialcoach could you copy/paste your header html and css or, better yet, link to a page with the header. It will make it a lot easier to understand what css needs to be applied where.

Hello @socialcoach ,

In the vitatlity theme the default header is white, you’ll need to set it to transparent

.header {

background-color: rgba(255, 255, 255, 0);

}

If you want the navigation to sit on top of the hero image you’ll have to set a negative margin on the <main> tag so that you get the transparent nav effect otherwise you’ll just see a white header. Let me know if that makes sense.