We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Re: How to make Header Appear when Scrolling Up only (not with Announcement Bar): Debut Theme

How to make Header Appear when Scrolling Up only (not with Announcement Bar): Debut Theme

nutripaw
Tourist
10 0 4

Hello,

 

I'm using the Debut theme on my store, www.nutri-paw.com

 

I am looking to make the header only (not the announcement bar) disappear when I scroll down, but re-appear when I scroll back up - such as in the Sense 2.0 theme: https://themes.shopify.com/themes/sense/styles/default/preview

I only want the Annoucement Bar to show when I am at the top of the page, not to re-appear when I scroll up along with the Header

 

Could someone please help me with this? Sadly I hired one developer and after I paid him he made the header sticky all the way and the Announcement Bar also, which I didn't want to be sticky at all.

 

Thanks in advance, appreciate the help!

Replies 2 (2)

KetanKumar
Shopify Partner
37635 3670 12168

@nutripaw 

yes, please apply this way

https://codepen.io/JGallardo/pen/ZEBbeP

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
lucas_11
Excursionist
35 0 5

Could you please do this for me but I would like the announcement bar to appear on scroll up. At the moment the header only appears.