Shopify themes, liquid, logos, and UX
Hello I'd like the Custom Liquid video to be shown underneath the menu.
Could anyone help me please?
Also my Logo isn't centered in the middle exactly, I've chosen centered but it centers between search/cart and the text at the left. Two seperate problems but I'd appericate it if anyone could help me with both/any.
Site: Nattstudios.com
Password: 1234
Solved! Go to the solution
This is an accepted solution.
Check this one.
{% if template == 'index' %}
<style>
sticky-header.header-wrapper.gradient:after {
content: "";
background: transparent;
display: block;
width: 100%;
height: 50px;
margin-top: -20vh;
}
sticky-header.header-wrapper.gradient {
position: relative;
}
</style>
{% endif %}
Note: When you scroll down it will still remain transparent.
The text color, if you change into white when it scroll it wont visible, You need a developer for this.
Also this code only shown on the homepage not on other page.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Check this one.
{% if template == 'index' %}
<style>
sticky-header.header-wrapper.gradient:after {
content: "";
background: transparent;
display: block;
width: 100%;
height: 50px;
margin-top: -20vh;
}
sticky-header.header-wrapper.gradient {
position: relative;
}
</style>
{% endif %}
Note: When you scroll down it will still remain transparent.
The text color, if you change into white when it scroll it wont visible, You need a developer for this.
Also this code only shown on the homepage not on other page.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Please add this code to your theme.liquid file, after <head> in Online Store > Themes > Edit code
{% if template == 'index' %}
<style>
.header-wrapper { background: transparent !important; }
.scrolled-past-header .header-wrapper { background: var(--gradient-background)!important; }
#MainContent { margin-top: -96px; }
@media (max-width: 749px) {
#MainContent { margin-top: -97px !important; }
}
</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