color of button once I clicked
Wednesday, May 11, 2022 at 03:47pmHi,
for example, in my account email template (evidence summary), before click "VIEW COMPLETED DOCUMENTS" button, the wording showed in white, and background color is purple. (see attachment).Once it's clicked, the wording become Purple, how to keep it white same as before click it?
in the template sample: vlink attribute already set to white as link, any idea?
<a href="$LINK_URL;" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF"
style="font-size:16px; font-weight: bold; font-family: Helvetica, Arial, sans-serif; text-decoration: none; line-height:40px; width:100%; display:inline-block;">
<span style="color: #FFFFFF">VIEW COMPLETED DOCUMENTS</span>
Reply to: color of button once I clicked
Wednesday, May 11, 2022 at 05:28pmHi Cindy,
I think this is because Outlook ignores some of the CSS styles and made the behavior different from other email clients. For this particular button color issue, it might be worth to try below code, where I didn't use <span> tag, and I specified the font color in the <a> tag:
<table cellspacing="0" cellpadding="0">
<tr>
<td align="center" width="270" height="40" bgcolor="#5940C3"
style="-webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; color: #ffffff; display: block;">
<a href="$LINK_URL;" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF"
style="font-size:16px; font-weight: bold; font-family: Helvetica, Arial, sans-serif; text-decoration: none; line-height:40px; width:100%; display:inline-block;color: white;">
<strong>VIEW COMPLETED DOCUMENTS</strong>
</a>
</td>
</tr>
</table>
Duo
Reply to: color of button once I clicked
Wednesday, May 11, 2022 at 05:45pmthanks, could you please update it in my CA sandbox account so I can test? otherwise, I have to open the ticket with support and ask them to update it for me
Cindy
Reply to: color of button once I clicked
Wednesday, May 11, 2022 at 05:56pmHi Cindy,
Because I don't have direct access to backoffice, please still raise it to support team.
Duo
Reply to: color of button once I clicked
Wednesday, May 11, 2022 at 06:29pmno worries, thanks for help. I will let you know the result.