charlesmudy / responsive-html-email-template

Responsive HTML email template designed to work on all major email platforms and smartphones

Home Page:http://www.charlesmudy.com/respmail/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

font

mikezablu opened this issue · comments

hi Charles!

How can I change the font to Robot from google fonts?

I used the import option.

In the of your code, if you haven't already created <style> tags, this is how you can include it

<head>
  <style type="text/css">
    @import url('http://fonts.googleapis.com/css?family=Roboto');
    html * { font-family:'Roboto' !important; }
  </style>
</head>

I usually do inline styling, but html * should be how you apply it globally to a page.

ref: http://stackoverflow.com/questions/7025756/how-to-apply-global-font-to-whole-html-document