Shopify themes, liquid, logos, and UX
Hi there,
I have been having trouble merging my video banner with my menu so that it looks like a background behind my menu and logo. Upon scrolling down, I want a solid colour to fill the sticky header. Here is a website that does something similar: https://www.meritbeauty.com/
I have already edit my code in the theme.liquid file by following https://community.shopify.com/c/shopify-discussions/how-can-i-integrate-an-image-banner-with-my-head... advice, but it didn't work.
Thank you
Solved! Go to the solution
This is an accepted solution.
Hi @ams_ElMaknoon ,
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
sticky-header.header-wrapper {
background: transparent !important;
}
.scrolled-past-header sticky-header.header-wrapper {
background: white !important;
}
.scrolled-past-header sticky-header.header-wrapper * {
color: black !important;
}
.scrolled-past-header sticky-header.header-wrapper nav.menu-drawer__navigation * {
color: white !important;
}
Here is the result:
Please let me know if it works!
Best,
Daisy
Hey @ams_ElMaknoon
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
Sure, my store is elmaknoon.com! Not password protected 🙂
Hi @ams_ElMaknoon ,
Could you please add the video to your store first?
Once it’s uploaded, I’ll be able to review it accurately and provide the necessary support.
Look forward to your response!
Best,
Daisy
I added the code to upload a video as my banner under "sections/video-banner.liquid." I also uploaded the video under "Content > Files > https://cdn.shopify.com/videos/c/o/v/a14d4ca75b32458f92dce48495812b99.mov"
This is an accepted solution.
Hi @ams_ElMaknoon ,
You can follow the steps here:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/ypQ7nly2wv27
Step 3: Copy the code below and paste it there
Here is the code for step 3:
sticky-header.header-wrapper {
background: transparent !important;
}
.scrolled-past-header sticky-header.header-wrapper {
background: white !important;
}
.scrolled-past-header sticky-header.header-wrapper * {
color: black !important;
}
.scrolled-past-header sticky-header.header-wrapper nav.menu-drawer__navigation * {
color: white !important;
}
Here is the result:
Please let me know if it works!
Best,
Daisy
It worked! Thanks so much for your help Daisy!!
Is there any way to make the logo transparent until scroll down?
Please add video banner to your store so I can give you the code.
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024