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.

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free