I've been struggling to change the font of my emails to Open Sans, especially with Gmail not rendering the correct font. However, I found a workaround for Outlook. Here is what I have:
body {
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans'), local('OpenSans'), url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff) format('woff');
}
}
I also attempted to declare all text as Open Sans:
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300'rel='stylesheet'type='text/css'>
<style type="text/css">
.stylealltext { font-family: 'Open Sans', sans-serif;}
.stylealltextbold {font-weight: bold; font-family: 'Open Sans', sans-serif; }
Unfortunately, Gmail insists on displaying Arial, while Google Inbox opts for Helvetica. It seems like Google's email services override my preferences. Any solutions?
Solution
Salvimatus's solution worked:
<span style="font-family: your-chosen-font">your text</span>
Remember to manually add the span.