Styling the [email] tag

I know that you can add styling to the <unsubscribe> tag e.g. <unsubscribe style="color:#cccccc; text-decoration:none;">Unsubscribe</unsubscribe>, but can you do anything similar with the [email]tag?

I have tried wrapping it in a span e.g. <span style="color:#cccccc; text-decoration:none;">[email]</span> but it doesn't seem to work - the email client's default link colour is used.

Many thanks!

BThies BThies, 7 years ago

Try this: 

<a style="color:#cccccc; text-decoration:none;" href="mailto:[email]">[email]</a>

Brian Thies
Professional Email Developer
Thies Publishing
benspencer, 7 years ago

Right, so unlike the <unsubscribe> tag pairing which provides the link code automatically, the [email]tag literally just returns the email address.

Brilliant, thanks for that.

Join 150,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free