I want to have my header by sticky across the entire site, however on the home page I want the background of the header to be transparent so you can see the image behind it. I also want to use a white logo on the home page and a black logo on all other pages.
Topic summary
A Shopify store owner using the Dawn theme seeks to implement a sticky header across their site with specific homepage customizations:
Primary Requirements:
- Transparent header background on homepage (to show underlying image)
- White logo on homepage, black logo on other pages
- Sticky header functionality site-wide
Additional Issues Identified:
- Mobile banner image not scaling to fill viewport
- Oversized footer on larger monitors
- White navigation text invisible against white background on mobile
- Request for semi-transparent blur effect on mobile nav menu (homepage only)
Solution Progress:
- GemPages provided initial CSS/JavaScript code that didn’t resolve the issues
- BSS-Commerce offered alternative code snippets for base.css and theme.liquid files
- Initial solution successfully fixed most problems
- Footer sizing and mobile navigation visibility issues persist despite follow-up code suggestions
Current Status:
Ongoing troubleshooting with BSS-Commerce. The user continues to experience mobile menu visibility problems even after implementing the latest recommended code changes.
Hello @blake1798
To provide you with the most precise solution in this case, could you please share your page URL ( with pass if your store password is enabled )?
Thank you and hope to hear from you.
Best regards,
GemPages Support Team
Hello! My site is https://au-ther.com/
I’m also having a problem on the mobile site where the image banner doesn’t scale to fill the entire view, and the footer is massive. The text on the navigation is also white and cannot be seen. Any help appreciated!
Forgot to mention-- the password is “password123”
Thank you for reply.
I would like to give you the recommendation to support you so kindly follow steps below:
- Go to your Online store > Themes > Edit code
- Open your theme.liquid file
- Paste the below code before :
I hope the above is useful to you.
Hi @blake1798
Please follow these steps:
-
Step 1: In Shopify Admin, Go to Online Store → Themes → Edit Code
-
Step 2: Find and open the file base.css, and add this code at the end of the file:
#shopify-section-header.shopify-section.section-header.transparent-header, #shopify-section-header.shopify-section.section-header .header-wrapper.transparent-header {
background-color: transparent !important;
}
#shopify-section-header.shopify-section-header-sticky.black-logo *:not(.announcement-bar__message) {
color: #ffffff!important;
}
@media screen and (max-width: 749px){
.banner--large.banner--mobile-bottom:not(.banner--adapt) .banner__media.banner-home-page{
height: 70rem;
}
}
- Step 3: Find and open the theme.liquid file, add this code before the tag, as shown below
I hope that it will work for you.
@GemPages Unfortunately this did not work for me, but I greatly appreciate you taking the time to help out!
@BSS-Commerce This fixed everything perfectly! Thank you!
@BSS-Commerce Actually, the footer is still massive for some reason on my larger monitor. Any idea?
@BSS-Commerce Also, the text on the nav menu on mobile isn’t visible due to white text on white background. Any idea how to make the nav menu background a semi-transparent blur like this (only on home page):
Hi @blake1798
- You can go to the file base.css and add this code at the end of the file:
@media screen and (min-width: 750px)
{
.banner__media {
height: 127%;
}
}
- Then you go to the theme.liquid file to add the following code to the code that I sent you before
let menu = document.getElementById("menu-drawer");
menu.style.background = "rgba(0,0,0,0.4);";
menu.style.backdropFilter = "blur(15px);";
I hope that it will work for you.
@BSS-Commerce that didn’t seem to work, the menu still looks like this:






