Skip to main content
Feb 24, 2015 8:43 PM UTC
Solved

Email Preview Pane

Hello,

How can I control what is shown in the email preview pane when a person goes through their email? I am looking to control what is shown for mobile devices.

Thanks,
David
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Justin_Cooperm2
Justin_Cooperm2Accepted solution
Level 10
Feb 24, 2015 8:56 PM UTC
Make the first thing that appears in the Email Template under the <body> a “mktEditable” section. Add whatever other content or “mktEditable” sections you want beneath that first section (it’s irrelevant what else is in the template). Then, when you create an individual Email Asset from this template, double-click the first region in the email. Click the “HTML” button in the TinyMCE rich-text editor. Add a pre-header at the very beginning of the code like this:

<div style="display: none !important;">This is the pre-header. It should be ~100 characters long for best results as different clients will show different amounts of the pre-header…</div>

<div>This is the actual start of the email content here!</div>

When you click “Update” you’ll only see “This is the actual start of the email content here!” in TinyMCE, but the pre-header will be applied.

13 replies

Justin_Cooperm2
Justin_Cooperm2Accepted solution
Level 10
Feb 24, 2015 8:56 PM UTC
Make the first thing that appears in the Email Template under the <body> a “mktEditable” section. Add whatever other content or “mktEditable” sections you want beneath that first section (it’s irrelevant what else is in the template). Then, when you create an individual Email Asset from this template, double-click the first region in the email. Click the “HTML” button in the TinyMCE rich-text editor. Add a pre-header at the very beginning of the code like this:

<div style="display: none !important;">This is the pre-header. It should be ~100 characters long for best results as different clients will show different amounts of the pre-header…</div>

<div>This is the actual start of the email content here!</div>

When you click “Update” you’ll only see “This is the actual start of the email content here!” in TinyMCE, but the pre-header will be applied.

Translate
Chris_Saporito
Level 7
Jul 29, 2015 1:20 PM UTC

Hi Justin, would you care to share some screen grabs of this?

Thanks!

Chris

Translate
Justin_Cooperm2
Level 10
Jul 29, 2015 4:54 PM UTC

Screen grabs of the code? Or what it looks like in an email client? It's just the preview you would see on an iPhone or in Gmail inbox...

Translate
Oct 1, 2015 8:48 PM UTC

I have noticed that if you use a display none, you will actually remove the preview text in several different email clients.

I find that if you use a color:transparent!important; color:#backgroundcolor; that you will render invisible(because it's blended) and you don't loose preview text in any of the other email clients.

Translate
Justin_Cooperm2
Level 10
Feb 25, 2016 3:55 AM UTC

Which clients? I want to look into this.

Translate