Solved! Go to Solution.
<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.
<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.
Hi Justin, would you care to share some screen grabs of this?
Thanks!
Chris
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...
A screen grab of the code would be perfect!
The code is pasted above. It should be the first thing that comes after the HTML <BODY> element. You can put it in the Email Template itself or insert it using the text editor if the very first thing in the <BODY> is a mktEditable <div>
How do you get around the View as webpage text when that is added to the EMAIL.
Another way of displaying this text if you are coding without the wyswig is to place a snippet at the beginning of the HTML.
<!-- THIS IS THE PREVIEW TEXT LOCATION FOR RENDERING THE PREVIEW TEXT BELOW THE SUBJECT LINE - THIS SECTION DOES NOT DISPLAY IN THE BODY OF THE EMAIL -->
<div style="text-align:center;color:#333333(same as background);color:transparent!important;font-size:1px;line-height:1px;opacity:0;" >
come look at this cool email
</div>
<!-- END - -->
If you click "Edit Settings" in the Email Editor you will see an option to toggle "Include View As Webpage"
I found a resolve that works across the board.
The resolve is to place the view as webpage token into place after the snippet. Here is my fully functional code snippet.
<!-- we chose to remove the row once you drop to mobile-->
<tr id="remove">
<td align="center" class="textStyle" >
<!-- THIS IS THE PREVIEW TEXT LOCATION FOR RENDERING THE PREVIEW TEXT BELOW THE SUBJECT LINE - THIS SECTION DOES NOT DISPLAY IN THE BODY OF THE EMAIL -->
<div class="textStyle" style="text-align:center;color:#333333;color:transparent!important;font-size:1px;line-height:1px;opacity:0;" >
Make sure to come visit our cool event
<!-- Non breaking spaces to clear any other data from showing -->
</div>
<!-- Marketo webpage token -->
{{system.viewAsWebpageLink}}
<!-- end of marketo token -->
<!-- END -*****THIS IS THE PREVIEW TEXT LOCATION FOR RENDERING THE PREVIEW TEXT BELOW THE SUBJECT LINE - THIS SECTION DOES NOT DISPLAY IN THE BODY OF THE EMAIL -->
</td>
</tr>
Ops, I forgot to mention this table row needs to be the first snippet in the email.