leemunroe/responsive-html-email-template

is it possible to change the border-radius of the button?

Nextdrive-NeilChen opened this issue · 1 comments

I have tried to change the style: (and examine using Chrome Version 103.0.5060.114 (Official Build) (64-bit))

 <a
    href="{{viewServiceUrl}}"
    target="_blank"
    style="
    border: solid 1px #446573;
    border-radius: 5px;  <--- here, change to 20px for example;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    margin: 0;
    padding: 10px 60px;
    text-decoration: none;
    text-transform: capitalize;
    background-color: #446573;
    border-color: #446573;
    color: #ffffff;"
>View Service
</a>

but it does not seem to do anything.

I need to have the button look like this:

Screenshot from 2022-07-11 11-31-57

Thanks in advance if you have any tips.

I found out how; and for whom were having the same trouble:

 <td
    style="
    font-family: sans-serif;
    font-size: 14px;
    vertical-align: top;
    border-radius: 30px;  <-- change both here
    text-align: center;
    background-color: #446573;"
    valign="top"
    align="center"
    bgcolor="#446573"
>
<a
    href="{{viewServiceUrl}}"
    target="_blank"
    style="
    border: solid 1px #446573;
    border-radius: 30px;   <-- and here
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    margin: 0;
    padding: 10px 60px;
    text-decoration: none;
    text-transform: capitalize;
    background-color: #446573;
    border-color: #446573;
    color: #ffffff;"
>View Service
</a>
</td>

(I apologize if this is obvious for you; I am a newbie and I've found CSS very confusing to myself.... )