Skip to main content
Solved

How to add preview lines to a HTML email?

  • February 21, 2023
  • 2 replies
  • 2009 views

Forum|alt.badge.img+5

So, basically I want to send a campaign which is an HTML email.

Which results to no option in adding preview lines straight to the box.

And when I searched on google, I found this info:

But how do I actually implement this?

So, let’s say I want to use “Welcome to my team” as a preview line in an HTML email.

Where should I add this text in the tag mentioned in the picture?

Also where should I use this tag in the HTML email.

Thank you ✨

Best answer by stephen.trumble

Hey @nambirajanks 

Thank you so much for reaching out for help with adding a preview text to your html email template. The code below is what you will need to add preview text. This code should be added immediately after the opening <body> tag of your template.

<div style="display:none; font-size:1px; line-height:1px; max-height:0px; max-width:0px; opacity:0; overflow:hidden;">
Insert preview text here.
</div>

Import a Custom HTML Template

Hope this helps!

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

stephen.trumble
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • 1518 replies
  • Answer
  • February 21, 2023

Hey @nambirajanks 

Thank you so much for reaching out for help with adding a preview text to your html email template. The code below is what you will need to add preview text. This code should be added immediately after the opening <body> tag of your template.

<div style="display:none; font-size:1px; line-height:1px; max-height:0px; max-width:0px; opacity:0; overflow:hidden;">
Insert preview text here.
</div>

Import a Custom HTML Template

Hope this helps!


Forum|alt.badge.img
  • Contributor I
  • 2 replies
  • February 28, 2024

Hello!

 

I'm doing a plain text email and I used that code to add the preview text. Now, my preview text is short and the rest of the email text follows, but I would like only this small preview text to appear. Is there a way for only this text to show?