Shopify themes, liquid, logos, and UX
I have tried using this video: https://www.youtube.com/watch?v=4qA3gNt5wCQ&t=1s
But this has made my header transparent on every page.
I would like my header transparent only on my home page where I have the video banner.
My page is:
https://elnisfinancials.myshopify.com/
Solved! Go to the solution
This is an accepted solution.
Please add this code to to your theme.liquid file, after <head> in Online store > Themes > Edit code
{% if template == 'index' %}
<style>
.section-header .header-wrapper {
background: transparent;
}
#MainContent { margin-top: -226px; }
@media (max-width: 749px) {
#MainContent {
margin-top: -206px !important;
z-index: -1;
}
}
</style>
{% endif %}
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Its password protected. You need to add this code. Example.
{% if template == 'index' %}
<style>
.header {
background: transparent;
}
</style>
{% endif %}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Your store has password protected
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
Please add this code to to your theme.liquid file, after <head> in Online store > Themes > Edit code
{% if template == 'index' %}
<style>
.section-header .header-wrapper {
background: transparent;
}
#MainContent { margin-top: -226px; }
@media (max-width: 749px) {
#MainContent {
margin-top: -206px !important;
z-index: -1;
}
}
</style>
{% endif %}
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ 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 - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025