Solved

How to add preview lines to a HTML email?

  • 21 February 2023
  • 2 replies
  • 722 views

Userlevel 2
Badge +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 ✨

icon

Best answer by stephen.trumble 21 February 2023, 22:34

View original

2 replies

Userlevel 7
Badge +60

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!

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?

Reply