I Want To Add A New Line In Announcement Bar (Refresh)

Hello,

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

How can I do this in the Refresh theme?

I’d be grateful if anyone knows, thanks!

Find this file and change two places as in the screenshot.

Step 1:delete ‘| escape’

Step 2:change “text” to "html

Then add the line break tag(
) in front of the line you want to break

1 Like
  1. Go to your Shopify admin panel and click on Online Store > Themes.
  2. Click on the Actions button for the Refresh theme and select Edit Code.
  3. In the left-hand navigation menu, click on Sections and then select announcement-bar.liquid.
  4. Look for the text that you want to add a new line to and insert the HTML line break tag <br> where you want the line break to occur.