I am using the Impulse Theme and looking to make the Announcment Bar ‘Sticky’ on all pages.
How can I go about doing this? There is no way to enable this as a default theme feature.
Any help is much appreciated!
Andrew
I am using the Impulse Theme and looking to make the Announcment Bar ‘Sticky’ on all pages.
How can I go about doing this? There is no way to enable this as a default theme feature.
Any help is much appreciated!
Andrew
Hey @AAABARTON1
Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!
Best Regards,
Moeed
Hey @AAABARTON1
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thanks this works but,
It lags in fornt of the header meaning when you scroll the announcement bar is ahead of the header menu.
How can we make the announcement bar Stick to the header bar?
Thanks again
Thanks Dan, this doesn’t seem to work?
Ah, because I get ID of Announcement from demo theme. Could you share your store URL so I can get correct ID of it to make it works
Please use this code
Hi thanks, still doesn’t work at all.
My mistake, please update code like this
Hi still doesn’t show on desktop or mobile - I think it is now sticky, just hidden behind the header menu - when I added padding to the code it appeared but very glitchy and the padding is different for Desktop and Mobile.
Simply adding padding won’t fix the animation issue - when scrolling the header disappears for a split second the quickly slides back down. The announcement bar would need to follow and ‘stick’ to the header bar animation.
Thanks for your help so far!
Please update code like this
Hi, just added this code and still doesn’t appear
Please change code like this
Hi, I have added this code and nothing happens