How can I make a transparent header for my Dawn Theme store?

Hello Shopify Community!

I’m currently working on a customization for my Shopify store’s header and could use some guidance. I’m inspired by the header style of the “livefastdieyoung” website and am aiming to replicate a similar functionality. Here’s what I’m trying to achieve:

  1. Transparent Header on Top of the Page: I want my header to be transparent and seamlessly blend with the hero image when the page is initially loaded or when scrolled to the top.

  2. Dynamic Header on Scroll: As the user scrolls down, I would like the header to completely disappear. However, when scrolling up, the header should reappear with an orange background color.

So far, I’ve managed to make the header disappear and reappear with an orange background, which is great. However, I’m facing a challenge with the transparency aspect. Ideally, the header should be transparent when at the top of the page. But currently, it displays the default background color of my color scheme instead of being transparent. It only becomes transparent when I scroll down slightly, which is not the intended behavior.

Thank you in advance for your help!

The first image is how the page looks like when I open it.

The second image is when I scroll down a little bit.

Also I’m using Dawn Theme Version 12.0

@stefansweb2020 The problem I still have is that the header is still above the hero image but i want the hero image to actually be on top of the page. The appended image shows how it is right now and I want the hero image to be on top so i dont have the gray background (that’s the default background color of my page)

Yes, I want the same thing. Anyone who could help?

Dawn theme transparent header: