Shopify themes, liquid, logos, and UX
my question is how i make annoucement bar sticky in refresh theme: thats my site: https://ledlightslb.com/
Solved! Go to the solution
This is an accepted solution.
Hello @Nourdennaoui
It's GemPages support team and glad to support you today.
I would like to give you a solution to support you.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid theme file.
3. Paste the below code before </body>:
<style>
body #shopify-section-announcement-bar{
position: sticky;
position: -webkit-sticky;
top: 0px;
}
body .shopify-section-header-sticky{
top: 38px;
}
</style>
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
This is an accepted solution.
Hello @Nourdennaoui
It's GemPages support team and glad to support you today.
I would like to give you a solution to support you.
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid theme file.
3. Paste the below code before </body>:
<style>
body #shopify-section-announcement-bar{
position: sticky;
position: -webkit-sticky;
top: 0px;
}
body .shopify-section-header-sticky{
top: 38px;
}
</style>
Hope my solution can work and support you!
Kind & Best regards!
GemPages Support Team.
thanks ur very helpful 🙂
It's my pleasure to help 😍.
Hi there! 🙂 I followed your instructions and added the code on my theme.liquid (check the attached screenshot). Now the sticky annoucement bar almost works, but not quite. It made the bar area sticky, but the actual bar doesn't move with it? Hope you can help. Preview store: https://thewellnezzy.com/?_ab=0&_fd=0&_sc=1
Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024Note: Customizing your CSS requires some familiarity with CSS and HTML. Before you cust...
By JasonH Aug 12, 2024