Marketing email missing preview text
Last updated: January 18, 2023
Available with any of the following subscriptions, except where noted:
|
|
Legacy Marketing Hub Basic |
If you're using a coded email template and you're not seeing the preview text while editing your marketing email, it's because your email template is missing a small amount of code.
To fix this, edit your 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>
Click Publish changes to publish your changes to your template.
Related content
-
Analyze your marketing email campaign performance
After you've published and sent marketing emails, you can review trends of your emails from the email...
Knowledge Base -
Email bounce types
A bounce message is also called a Non-Delivery Report/Receipt (NDR). It's an automated message from the...
Knowledge Base -
Create and manage smart content rules
Smart content modules display different versions of your content based on viewer category. For example, you...
Knowledge Base