What's your biggest current challenge? Have your say in Community Polls along the right column.

A line break in your customer email confirmation text?

Solved

A line break in your customer email confirmation text?

Steven1Groot
Visitor
2 0 0

Hi there,

 

How can I ensure that my customer confirmation emails include proper line breaks and paragraphs for clarity and readability, especially when the preview text doesn't display line breaks but the email text (HTML) does?tekst 3.jpg

Accepted Solution (1)

ThePrimeWeb
Shopify Partner
2139 616 515

This is an accepted solution.

Hey @Steven1Groot,

 

HTML doesn't recognize spaces as line breaks, you can type them, but the final output doesn't recognize it. You need to use <br> instead.

 

So wherever you need a line break just add

<br>

in the HTML, and then preview.

 

E.g.

 

Hallo Jan, <br> we maken je bestelling... 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!

View solution in original post

Replies 2 (2)

ThePrimeWeb
Shopify Partner
2139 616 515

This is an accepted solution.

Hey @Steven1Groot,

 

HTML doesn't recognize spaces as line breaks, you can type them, but the final output doesn't recognize it. You need to use <br> instead.

 

So wherever you need a line break just add

<br>

in the HTML, and then preview.

 

E.g.

 

Hallo Jan, <br> we maken je bestelling... 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
Steven1Groot
Visitor
2 0 0

That was fast and very helpful! It worked! Thank you @ThePrimeWeb