Shopify themes, liquid, logos, and UX
I am designing my website and noticed that my sticky header stopped working for no reason. When I first started designing it was working perfectly fine. The animation works in the editor but not on the actual website. Here is my website Viibed.
Hi @Viibed, Can you kindly share the details of your problem (screenshot) with us? We will check it and suggest you a solution if possible.
When at the top of the page, your menu should be transparent, right?
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Sorry I worded my previous message wrong, I meant to say my sticky header animation where it only shows on scroll up doesn't work on the actual website but works on the editor.
Hi @Viibed, Can you kindly share the details of your problem (screenshot) with us? We will check it and suggest you a solution if possible.
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
In this one, the header is not shown because I have it selected as Only Show on Scroll, which is what I want.
In this screenshot, it IS visible even though I am scrolling down(no animation at ALL is shown) Which is what I'm trying to fix.
You can't get a screenshot of an animation, so I hope I explained everything well and cleared up confusion.
Hi @Viibed,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
body:has(.scrolled-past-header) .header-wrapper {
visibility: visible;
opacity: 1;
}
.header-wrapper {
visibility: hidden;
opacity: 0;
position: fixed !important;
top: 0;
left: 0;
width: 100%;
}
</style>
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
That makes my header transparent. I'm saying the "Only show on scroll" animation isn't working on the actual website. I still want the header to show.
Shopify and our financial partners regularly review and update verification requiremen...
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