Need help adding a line break in the email template

Topic summary

Main issue: In a Shopify abandoned cart email (Liquid template), the greeting and the message body appear on the same line in the preview. The user wants a new paragraph after the greeting (e.g., after “Hi {{ billing_address.first_name }},”).

Context: The provided template uses Liquid conditionals (e.g., {% if item_count == 1 %}) and a greeting with a first name variable. The preview shows everything concatenated into one line without a line break.

Solution: Insert an HTML line break tag
at the point where a new paragraph should start. This adds a visible line break in the email content.

Outcome: The suggested fix worked for the user, and the email now separates the greeting from the message.

Additional note: A participant mentioned the forum’s new software may hide inline HTML in posts, so code should be placed in a code block to ensure visibility. Status: Resolved with a clear implementation step (use
).

Summarized with AI on December 10. AI used: gpt-5.

Hello,

I’m trying to separate the greeting and beginning of my message by starting a new paragraph in my abandoned cart email. Can someone please help with the way to solve this issue? This is the code provided in the template:

{% if item_count == 1 %}
Hi {{ billing_address.first_name }},
Thank you for shopping at Fandom Collectibles and becoming part of the Fandom Family. We noticed your cart is still filled with some of the best items available. Now its time to make the final decision before it sells out.

If you have any questions about the items, please feel free to contact us.

{% else %}

This is what it looks like in the example/preview:

Hi Bob, Thank you for shopping at Fandom Collectibles and becoming part of the Fandom Family. We noticed your cart is still filled with some of the best items available. Now its time to make the final decision before it sells out. If you have any questions about the items, please feel free to contact us.

Thank you very much!

Hi @laelb

You can try adding a
where you want to end a paragraph.

Hope it helps :slightly_smiling_face:

1 Like

Believe it worked - thanks so much @AvadaCommerce

I think the HTML element you wanted to post here, actually caused a line break in your post :smiley: Or it showed before, but now that the forum is using new software, it is not visible anymore.
So we cannot see it. You will need to put it in a code block.