I want to add a new line in announcement bar (Venture)

Solved
New Member
3 0 0

I want to add a new line (enter) in the announcement bar so that my announcement would be in two lines.

I tried <br> , but that doesn't seem to do the trick.

 

Does anyone know how to add a new line in the announcement bar?

 

Preview:

example.png

0 Likes
Highlighted
Shopify Partner
177 37 43

Hello @PartyPro, Share store link for better solution 

1 Like
Highlighted
New Member
3 0 0
Highlighted

Success.

Shopify Partner
177 37 43

Hello @PartyPro,

 

1. Go to Online Store->Theme->Edit code
2. section->header.liquid

 

Search below statement by using ctrl + F

 

section.settings.announcement_text

 

you will find

 

{{ section.settings.announcement_text | escape }}

 

then remove | escape

 

{{ section.settings.announcement_text }}

 

NOW SAVE FILE

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: wahabahmadghori@gmail.com

 

0 Likes
Highlighted
New Member
3 0 0

Thank you so much!

 

I can now use <br> in my announcement bar after editing the header.liquid code.

 

I changed

{{ section.settings.promo_bar_text | escape }}

to

{{ section.settings.promo_bar_text }}

 

Thank you again!

 

 

0 Likes