font colour change on unsubscribe tag

Central Designs

New Member
Hi there

I'm using the [unsubscribe] tag in my html emails, but would like to know how to change the colour of the tag (which currently shows as a blue).

I've tried calling a class from a style sheet which is hosted remotely on my server, but it doesn't work with the tag.

I've also tried [unsubscribe style="color:#fff;"] and [unsubscribe class="copyright'] which don't work.

Is the only option to use the command:
lm.php?cmd=unsubscribe[&list=list1[;list2;...]]&email=email_addr[&pwd=password]

and stylise that?

Many thanks
 

stanbusk

Administrator
Staff member
The only way would be using the HTML format for your message and including a CSS to change all link color. Is that what you want to do?
 

Central Designs

New Member
I could change the styles so that all links would be the same colour throughout the html email - where do I have to declare the style for the links?

The code I have at the bottom of my html email is:

<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; line-height: 11px; color:#fff; font-weight:normal;">If you no longer wish to receive emails [Unsubscribe]</span>

Do I alter this code or do you mean I have to include a style for the body tag of my html (which includes the link style) at the start of my html coding?
 

stanbusk

Administrator
Staff member
At end of your code HEAD part use something like:
Code:
<style type=text/css>
A:link  { color: #396D84; font-weight: normal; text-decoration: underline }
</style>
And if you want to alter more colors like when the link has been visited...:
Code:
<style type=text/css>
A:link  { color: #396D84; font-weight: normal; text-decoration: underline }
A:visited { color: #396D84; font-weight: normal; text-decoration: underline }
A:active { color: #86B82D; text-decoration: underline }
A:hover { color: #86B82D; font-weight: normal; text-decoration: underline }
</style>
 
Top