A Shopify beginner using the Dawn theme seeks to create a transparent header so their logo appears over the homepage background image, similar to examples they’ve seen on other sites.
Initial Solutions Attempted:
Adding CSS code to theme.liquid with positioning and styling
Checking theme customization settings (transparent header option not available in Dawn)
Custom code in header.liquid to remove background and border
Core Problem:
While several code solutions successfully made the header transparent, users consistently encountered a secondary issue: the background image wouldn’t extend behind the header, leaving a white bar at the top instead of the image showing through.
I’ve tried it but it’s not yet what I want. See images of what happened to the header. I’ve also added an example of what I’m aiming for (an example from Triangle.com).
Note: You are only advised to perform this if you are experienced with liquid code, else please hire a Shopify expert who can help you with this issue or connect with us for the same.
Hi! Thank you so much. It worked. I notice it is transparent when I scroll down.
Although, is it now possible to get the background image at the top instead of the white header bar? So that I see my image underneath the transparent header! (See example images before and after scroll).
Hi, I also reached the same outcome as you but struggling to get the image to be underneath the header rather than the white bar. I am also using Dawn theme
Hi! Is there the above requested code to get the background image at the top instead of the white header bar? I saw that it was requested, but was unable to see any code responses.