html-email – 可以在MailChimp模板中使用google webfonts吗?

html-email – 可以在MailChimp模板中使用google webfonts吗?,第1张

概述我一直在尝试将Google WebFonts纳入MailChimp,无法获得任何解决方案. 我已经尝试使用@import在Campaign Monitor网站上列出的方法: http://www.campaignmonitor.com/blog/post/3897/using-web-fonts-in-email 但是尝试预览时会收到此错误: An error occurred parsing y 我一直在尝试将Google WebFonts纳入MailChimp,无法获得任何解决方案.

我已经尝试使用@import在Campaign Monitor网站上列出的方法:

http://www.campaignmonitor.com/blog/post/3897/using-web-fonts-in-email

但是尝试预览时会收到此错误:

An error occurred parsing your template CSS:Cannot find a CSS file at: http://Fonts.GoogleAPIs.com/CSS?family=Montserrat

有没有人能够使用MailChimp中的自定义字体?

解决方法 事实证明,通过@import语法是不可能的.它使用标签工作:
<link href='http://Fonts.GoogleAPIs.com/CSS?family=Montserrat' rel='stylesheet' type='text/CSS'>
总结

以上是内存溢出为你收集整理的html-email – 可以在MailChimp模板中使用google webfonts吗?全部内容,希望文章能够帮你解决html-email – 可以在MailChimp模板中使用google webfonts吗?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/web/1098674.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-05-28
下一篇 2022-05-28

发表评论

登录后才能评论

评论列表(0条)

保存