Branding domain being stripped in outlook when using VML code in the template | Community
Skip to main content
New Participant
May 23, 2024
Question

Branding domain being stripped in outlook when using VML code in the template

  • May 23, 2024
  • 1 reply
  • 630 views

After a rebrand this winter, we noticed our CTAs were being stripped of their formatting in outlook clients. So we added the VML coding to the template and recently we started seeing the branding domain was not working on these CTAs, in outlook only, it will show the full url when you hover over the CTA. Does anyone have any ideas on how to rectify this. This is the VML code around the CTAs.

   <!--[if mso]>

        <v:roundrect  href="${CTA_LinkURL01}" target="_blank" style="v-text-anchor:middle; width: 175px; height: 40px;" stroke="f" fillcolor="#01D788" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word">   

           

            <center>

        <![endif]--> <a href="${CTA_LinkURL01}" target="_blank" style="border-collapse: collapse; mso-line-height-rule: exactly; color: inherit; text-decoration: none; font-family: Helvetica; font-size:16px; font-weight: 300; text-decoration: none; display: block; color:#013B38; background-color: #01D788;  padding: 16px 30px 16px 30px; border-radius: 8px!important;">${CTA_Text01}</a> </td>

                                        <!--[if mso]>

            </center>

          

        </v:roundrect>

        <![endif]-->

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.