Re: Formatting a salutation token

Anonymous
Not applicable

Formatting a salutation token

Hi,

I'm trying to add CSS styles to my salutation token, so that the text looks the same as my body text in all clients. Do you know how I can add styling to a token?

color: #666666;
font-family: "Helvetica", "Arial", sans-serif;
font-weight: normal;
padding: 0;
margin: 0;
text-align: left;
line-height: 1.3;

Many Thanks
Michelle
Tags (1)
4 REPLIES 4
Edward_Masson
Level 10

Re: Formatting a salutation token

Try using Inline Styles on your <p> tag. Be aware of conflict in your email templates in the <head> tag.

http://www.w3schools.com/html/html_css.asp
http://www.tizag.com/cssT/inline.php

Anonymous
Not applicable

Re: Formatting a salutation token

I don't have <p> or <h> tags as it's a token

Thanks
Michelle
Dory_Viscoglio
Level 10

Re: Formatting a salutation token

HI Michelle, without seeing the rest of the email, I think the easiest way might be to add the salutation text and token to your body text so that you can format it. Any of the tokens you add from the editor can also be added in a text area, you'll see the button in the editor or you can manually type it {{lead.First Name}}.
Anonymous
Not applicable

Re: Formatting a salutation token

Hi Edward and Dory. Thanks very much for your responses. I have fixed this as per Edward's suggestion and added a <p> tag to the token code so I could style in-line.