Question
Global Variable CTA not rendering in Gmail
Hello there,
I am creating an email template that has a few global variables including one for color ${ButtonColor} of my CTA button. In preview, my CTA looks how it is intended. When I send a test to GMAIL, the CTA does not render properly. Ive attached the code as well as screen shots of intended vs actual views of the CTA. Any help would be appreciated. Thanks!


<meta class="mktoList" id="ButtonColor" mktoname="Button Color" default="/*JHBlue-Button*/ border-color:#0000C1; background-color:#0000C1; color:#0000C1; text-decoration:none;" values="/*JHBlue-Button*/ border-color:#0000C1; background-color:#0000C1; color:##0000C1; text-decoration:none;, /*Dark-Blue-Button*/ border-color:#000060; background-color:#000060; color:#000060; text-decoration:none;, /*Green-Button*/ border-color:#00A758; background-color:#00A758; color:#00A758; text-decoration:none;, /*Coral-Button*/ border-color:#EC6453; background-color:#EC6453; color:#ffffff; text-decoration:none;" mktomodulescope="false" />
<td width="100%" class="inner-full-width" border="0" style="display:${ShowButton};-webkit-text-size-adjust: none; ${AlignButton};">
<table role="link wrapper" class="container-table" style="border-collapse: collapse;">
<tbody>
<tr>
<td class="mktoText full-width-btn-mobile" id="button-linkf70f5b98-9d62-4762-ad0d-5b98c0edf6dd" mktoname="button-link-module2" align="center" bgcolor="${ButtonColor}" style="-webkit-text-size-adjust: none; font-family:Arial;font-size:16px;color:#020202;padding:16px 24px;display: inline-block;background-color: ${ButtonColor};">
<div style="display: inline-block; -webkit-text-size-adjust: none; ${ButtonColor};">
<a href="${ButtonURL}" target="_blank" title="main call to action" style="text-decoration: none; -webkit-text-size-adjust: none; margin: 0; font-size: 16px; font-family: 'Manulife JH Sans',Arial; font-weight: bold; background-color: ${ButtonColor}; color: #ffffff; text-decoration: none; display: inline-block;">${ButtonLabel}</a>
</div></td>
</tr>
</tbody>
</table> </td>