0

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.

Thanks.

  • 1
    Did you resolve this problem? – 3CE Oct 11 '17 at 18:42
  • No didn't resolve.Please answer this question if you have a solution – Sneha Panchal Nov 22 '17 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 Dec 27 '17 at 22:19
0

/public_html/vendor/magento/theme-frontend-blank/web/css/email-fonts.less

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, privacy policy and cookie policy

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