Need advice on making a custom announcement bar sticky?

Hi there,

so basically i have created a custom announcement bar underneath my navigation bar, and i would like to make this sticky, exactly like my header is currently, it sticks when you scroll down. would someone be ab to help me with this?

i have created this on a copy of my theme, so i have provided you with a preview of the theme version a it is currently not live.

https://u36iylroi4rtgx25-29567713340.shopifypreview.com

1 Like

@joshualev
Kindly try out this link.
https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_sticky_header

@Mr_RaviRaj i am not very competent with this, would you be able to provide me with the code to implement?

@joshualev

In your theme their is major issues,
so that i am unable to provide you the solution here,
I need to check your theme code and then rectify it,

or you need to hire a developer.
thank you,

@Mr_RaviRaj what do you mean by in my theme there are major issues?

1 Like

@joshualev
Kindly contact to your Theme support.
From where you have purchased it.

@Mr_RaviRaj i will do this, how ever i am confused in what you mean by there are major issues with my theme?