cindy

color of button once I clicked

0 votes

Hi,

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

0 votes

Hi 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

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: color of button once I clicked

0 votes

thanks, 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

0 votes

Hi Cindy,

 

Because I don't have direct access to backoffice, please still raise it to support team.

 

Duo

Duo Liang OneSpan Evangelism and Partner Integrations Developer


Reply to: color of button once I clicked

0 votes

no worries, thanks for help. I will let you know the result.


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off