How can I relocate the announcement bar to the middle of the page?

Solved

How can I relocate the announcement bar to the middle of the page?

hasanali1
Shopify Partner
126 5 15

 

is there a way to move the announcement bar from the header section to the middle page? as a template section

any help would be appreciated ! 

 

hasanali1_0-1683129074067.png

 

https://wigs-luxury.myshopify.com/?_ab=0&_fd=0&_sc=1

test

 

 

Accepted Solution (1)

made4Uo
Shopify Partner
3877 719 1230

This is an accepted solution.

Hi @hasanali1,

 

You can do this by following the instructions below.

 

1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Section folder and open the announcement-bar.liquid file
3. Go all the way down, and replace the code shown in the below with the code provided. 

  "presets": [
    {
    "name": "Announcement bar"
    }
  ]

 

made4Uo_0-1683129931229.png

 

 

When you go to the theme editor, and add a section. You should see the Announcement bar as shown in the image below.

made4Uo_1-1683130064052.png

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free

View solution in original post

Replies 2 (2)

made4Uo
Shopify Partner
3877 719 1230

This is an accepted solution.

Hi @hasanali1,

 

You can do this by following the instructions below.

 

1. From you Admin page, go to Online store > Themes > Click the three dots on the theme you want to edit > Edit code
2. Go to Section folder and open the announcement-bar.liquid file
3. Go all the way down, and replace the code shown in the below with the code provided. 

  "presets": [
    {
    "name": "Announcement bar"
    }
  ]

 

made4Uo_0-1683129931229.png

 

 

When you go to the theme editor, and add a section. You should see the Announcement bar as shown in the image below.

made4Uo_1-1683130064052.png

 

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free
OceanLiving
Tourist
4 0 0

Hey guys,

 

I've tried and tried and tried this, but it doesn't work for me. I didn't see the first section so couldn't delete it for step 1. I've done step 2. But I don't have the Announcement Bar available as a section.

 

Could you help?

 

https://mycosoul.com/