When sending an email via Pardot - how do you modify the preview text? I can't figure out how to get rid of the "*MC_PREVIEW_TEXT*" code from my templates. Do I need to modify the html code of the template or just the text area of the template?
Hello @Amit Kumar, I tried the code with the hidden previous text. However, when I want to insert the image for the email header it didn't appear on the previous. Here's the code : Can you check what went wrong ?
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Proposition de Partenariat - Winston & Léon</title>
<style>
body {
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
background-color: #f5f5f5;
padding: 20px;
}
.email-container {
max-width: 600px;
margin: 0 auto;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
h1 {
color: #333;
}
p {
color: #555;
line-height: 1.6;
}
.btn-container {
margin-top: 20px;
}
.btn {
display: inline-block;
padding: 10px 20px;
text-decoration: none;
color: #fff;
font-weight: bold;
border: none;
border-radius: 5px;
cursor: pointer;
margin-right: 10px;
}
.btn-green {
background-color: black;
}
.img-header {
width: 100%; /* Adjust as needed */
max-height: 200px; /* Adjust as needed */
object-fit: cover;
}
.small-text {
font-size: 12px;
color: #777;
text-align: center;
}
</style>
</head>
<body>
<div pardot-region="hidden-preview-text" pardot-region-type="simple" style="padding: 5px; ">
<div style="display: none; font-family: 'Open Sans', Arial, Helvetica, sans-serif; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; mso-hide: all;">
</div>
</div>
<div class="email-container">
<img src="LIVING ROOM LUXE.jpg" alt="Header Image" class="img-header">
<p>Bonjour,</p>
<p>Je me permets de vous contacter au nom de Winston & Léon ; agence immobilière à Paris spécialisée dans l'immobilier de luxe et la clientèle.</p>
<p>Nous aimerions développer un partenariat avec vous. Nous pensons que travailler ensemble permettra d'accroître mutuellement notre chiffre d’affaires.</p>
<p>Les avantages de ce partenariat sont notamment :</p>
<ul>
<li>Une commission de 10% à 20% pour chaque transaction conclue</li>
<li>La promotion de vos services auprès de nos clients existants</li>
</ul>
<div class="btn-container">
<a href="https://calendly.com/lvigier/winston-leon-meeting-with-leonard-vigier" class="btn btn-green">Réserver un rendez-vous</a>
</div>
<p>Si vous avez besoin de plus d'informations, n'hésitez pas à nous contacter.</p>
<p>En attente de votre réponse.</p>
<p>Bien cordialement,<br>Hazel Jane</p>
<img src="Signature email 1.png" alt="">
<p class="small-text">You are receiving this email because you signed up to receive our monthly newsletter at https://www.winston-et-leon.fr/<br>
<a href="{{Unsubscribe}}" rel="nofollow,noreferrer">Unsubscribe</a> from email communications<br>
{{{Organization.Address}}}</p>
</div>
</body>
</html>