Solved

How can I make my announcement bar at the top sticky on the Craft theme?

GiudFabri123
Tourist
12 0 1
Accepted Solution (1)

EBOOST
Shopify Partner
958 261 297

This is an accepted solution.

Hi @GiudFabri123 ,


May I suggest to update code these steps:

1. Go to Store Online-> theme -> edit code

EBOOST_1-1672356985580.png
2. Assets/base.css
3. Add code below to end of file

.announcement-bar-section {
  position: sticky;
  top: 0;
}

 

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free
- ❤❤DONATE ❤❤

View solution in original post

Replies 2 (2)

EBOOST
Shopify Partner
958 261 297

This is an accepted solution.

Hi @GiudFabri123 ,


May I suggest to update code these steps:

1. Go to Store Online-> theme -> edit code

EBOOST_1-1672356985580.png
2. Assets/base.css
3. Add code below to end of file

.announcement-bar-section {
  position: sticky;
  top: 0;
}

 

 

- Hope can help. If you find my reply helpful, please hit Like and Mark as Solution
- Need a Shopify developer? Contact email: eboost10@gmail.com
- Visit our site: https://www.eboosttech.net to view and download shopify themes and magento2 extensions free
- ❤❤DONATE ❤❤
GiudFabri123
Tourist
12 0 1

Thank you! It works!