I want to load Roboto font in the custom email template.If load fonts from admin transactional email styles it displays properly in preview but can not load in an email.

Import code : @import url('https://fonts.googleapis.com/css?family=Roboto');

Please help me if anyone knows the issue.


  • 1
    Did you resolve this problem?
    – 3CE
    Commented Oct 11, 2017 at 18:42
  • No didn't resolve.Please answer this question if you have a solution Commented Nov 22, 2017 at 6:38
  • Did you declare that font in _email-extend.less? I'm not sure but email template on Magento2 assume to not support import font feature based on my experience .
    – 3CE
    Commented Dec 27, 2017 at 22:19
  • Did you find any solution, guys? Commented May 11, 2020 at 5:05

1 Answer 1



Contains @font-face declarations for custom fonts. This file is imported by the _email-extend.less file using an @import rule.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.