Users are seeking to make the header transparent in Shopify’s Dawn theme, with several technical challenges emerging.
Primary Solution:
Add custom CSS code to the base.css file targeting the header element with background: transparent !important; and position: absolute;
Multiple contributors (PageFly-Victor, GemPages) provided similar CSS snippets to achieve transparency
Common Issues Reported:
Sticky header behavior: When scrolling down, users want the header to transition from transparent to white background while remaining sticky
Alignment problems: Header not centering properly when window size changes (Safari specifically mentioned)
Icon visibility: Shopping bag, search icons become invisible on transparent background; need to be white initially, then black when header turns white on scroll
Width issues: White background (after scrolling) not extending full width on some implementations
Dawn v15.1 compatibility: Newer version causes entire header section to turn solid white on hover
Content overlap: Product descriptions appearing behind the transparent header instead of below it
Additional Requests:
Making transparency work only on homepage
Hover effects that toggle between transparent/white header with corresponding icon color changes
Video tutorials were shared as alternative solutions.
Summarized with AI on November 6.
AI used: claude-sonnet-4-5-20250929.
that works but the last point is so when i scroll down the page the header comes with me but is still transparent but i want it with a white background then so like this:
Hey, do you have dicsord by any chance? i am trying to have my header when people land on my page be transparent along with icons be white, once hovered over the header with the mouse cursor, the header turns white and icons turn black, then if you hover off the header with your mouse, it turns transparent again along with the icons like menu and search icon turn white again. Willing to pay, i left an example right beside this.VIDEO HERE!
I have a question I used this code on dawn theme and it worked but there is an issue when i scroll down ( I have a sticky header ) and when I do that the shopping bag, search ect,you cant see it because its white but i need it to be white for the transparent part and i need it to be black when scrolling down
Hi, thank you for this code! It works really well. I only have one problem thoæugh. The white header background (after scrolling down) s not in full width? I try changing the width but no luck. Any tips would be helpful.