g13nn/Email-Framework

add preheader component

Opened this issue · 1 comments

Best practice would be to show in email client preview and hide in the opened email.

You can do this by adding <span class="preheader" style="display: none !important;visibility: hidden;opacity: 0;color: transparent;height: 0;width: 0;">Your preheader text here</span> directly after your body tag, then add your css span.preheader { display: none !important; visibility:hidden; opacity:0; color:transparent; height:0; width:0; }