Email

Why is my email missing the preview text widget?

Last updated: May 29, 2018

Applies to:

Marketing Hub Basic, Professional, Enterprise

If you're using a custom coded email template and you're not seeing the preview text while editing your email, it's because your email template is missing a small amount of code needed to display this properly.

To fix this, edit your custom coded email template to include the following piece of code as the first child element in the body tag:

<div id="preview_text" style="display:none;font-size:1px;color:{{background_color}};line-height:1px;max-height:0px;max-width:0px;opacity:0;overflow:hidden;">{% text "preview_text" label="Preview Text", value="", no_wrapper=True %}</div>

Be sure to click Publish changes to publish your changes to your template. 

Was this article helpful?

If you still need help you can get answers from the , or to contact support.