Forum Discussion
- kandulmadhu10 years agoAdvisor
Hi Grazitti,
Thanks for your help.
I have tried including custom fonts in email templates but it was unsuccessful. Have you tried using them successfully?
The following is the code snippet i have added in my email template:
<style>
@font-face {
font-family: 'FrutigerNext-Regular';
src: url("${webUi.toStaticAssetUrl('/html/assets/FrutigerNext-Regular.eot')}"); /* IE9 Compat Modes */
src: url("${webUi.toStaticAssetUrl('/html/assets/FrutigerNext-Regular.woff')}") format('woff'), /* Modern Browsers */
url("${webUi.toStaticAssetUrl('/html/assets/FrutigerNext-Regular.ttf')}") format('truetype'), /* Safari, Android, iOS */
url("${webUi.toStaticAssetUrl('/html/assets/FrutigerNext-Regular.svg')}") format('svg'); /* Legacy iOS */
}</style>
This font is not getting applied in my Outlook client though.
Can you send me the correct syntax for this?
Thanx in advance,
Madhu
- VarunGrazitti10 years agoBossDid you check this link: http://community.lithium.com/t5/Developers-Knowledge-Base/Email-template-context-objects/ta-p/75924
I am not 100% whether this would work or not.- kandulmadhu10 years agoAdvisor
Hey Grazitti,
I didn't find anything specific to Custom fonts there but thanx for the link.
Regards,
Madhu
Related Content
- 3 years ago
- 2 years ago