Search code examples
amp-htmlamp-email

How to add Roboto font to AMP 4 Email


When I add this, I get an error from The AMP Validator:

<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,700|Roboto:300,400,500" rel="stylesheet">
    The tag 'link' is disallowed.

How should I add fonts from Google Fonts inside an amp4email.


Solution

  • AMP for Email doesn't currently support custom fonts.

    #21907 is the tracking issue for this feature request.