Answer the question
In order to leave comments, you need to log in
How to set a preheader in a mailing list?
How to set a preheader when mailing? I found an example https://infomarketing.su/email-marketing/preheader/ for an invisible preheader, but when I do it, after the preheader, the text of the letter is also displayed ... How to do it right?
Answer the question
In order to leave comments, you need to log in
The display of the snippet depends on the mail server, in most cases it is just the beginning of the letter. If you need to add a snippet that will not be visible in the letter itself - add it invisible, for example, as invisible, with a zero-size font or background color.
You can use 2 methods to choose from:
1. Inserting a preheader (cell) before the very first cell in the table:
<td style="display:none !important; visibility:hidden; mso-hide:all; font-size:1px; color:#ffffff; line-height:1px; max-height:0px; max-width:0px; opacity:0; overflow:hidden;"> Это текст прехедера. </td>
<table>
<tbody>
<tr>
<td>
<div style="display: none; max-height: 0px; overflow: hidden;">Это текст прехедера</div>
<div style="display: none; max-height: 0px; overflow: hidden;"> ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ </div>
</td>
</tr>
</tbody>
</table>
‌
- create a non-breaking space that will go immediately after the preheader, thus excluding extraneous text from the letter. So that after the topic there is no text at all - you need to delete the first block in the code, leave only the second one with spaces. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question