Formatting a salutation token | Community
Skip to main content
June 20, 2014
Question

Formatting a salutation token

  • June 20, 2014
  • 4 replies
  • 1346 views
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
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

Edward_Masson
Level 10
June 20, 2014
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

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

Thanks
Michelle
Dory_Viscoglio
Level 10
June 20, 2014
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}}.
June 20, 2014
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.