All things Shopify and commerce
Hello
Overlapping Announcement on Header upon scrolling .
I want this header stay always while scrolling .
Can someone help me to fix that .
Thank you
Hi,
Hope this will work
- Find and Edit CSS File, add css
CSS example
.announcement-bar {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
}
.header-wrapper {
position: fixed;
top: 40px; /* or adjust depending on your bar height */
width: 100%;
z-index: 999;
}
body {
padding-top: 80px; /* make space so content doesn't hide under fixed bar and header */
}
You can customize announcement bar heights as per your requirement
tried but no luck with that.
thank you though
any help please
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025