Can I reference an external font, e.g. from Adobe Typekit, in the CSS for a webform?

Comments

4 comments

  • Andreas Haugstrup Pedersen

    You cannot include script elements inside CSS. You can only use @font-face definitions.

    0
    Comment actions Permalink
  • Matt Clifton

    OK, thanks. Does this mean we can only use fonts that are native to Podio?

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    No, you can use any font you want. You just can't use a javascript-based solution like typekit. E.g. for google webfonts (note the 'https' in the URL):

    @font-face {
      font-family: "Tangerine";
      font-style: normal;
      font-weight: 400;
      src: local("Tangerine"), url(https://fonts.gstatic.com/s/tangerine/v6/HGfsyCL5WASpHOFnouG-RIX0hVgzZQUfRDuZrPvH3D8.woff2) format("woff2");
      unicode-range: u+0000-00ff, u+0131, u+0152-0153, u+02c6, u+02da, u+02dc, u+2000-206f, u+2074, u+20ac, u+2212, u+2215, u+e0ff, u+effd, u+f000;
    }
    
    body {
      font-family: "Tangerine", serif;
    }
    
    0
    Comment actions Permalink
  • Matt Clifton

    As with my other questions, got it - looks good. Will give it a go - thanks!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk