Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Custom font in HTML fields

Kasper2
Kilo Contributor

Hi, 

We have a requirement for a customer that wants to use their own custom font they have created themselves - which means its not a google font, or available from adobe typekit or anything else. A 100% custom font, we have locally. 

At first i tried to add the font as an attachment to the theme, add a CSS Include and a Style sheet - but this only seems to work on Service Portal. Here i can choose the font, and it works fine. 

But the actual requirement is that when they generate email notifications and stuff like that, they want to be able to choose their specific custom font in the HTML field. 

The font i uploaded is named "xxx" and i have tried to update the sys_property "glide.ui.html.editor.v4.font.collection" to include the value as "xxx=xxx;

 

Now the "xxx" becomes 'available' in the dropdown of fonts - but the acutal font it chooses is the first available of the OOTB fonts - like it doenst find anything or has anything connected to the name. 

 

Does anyone know anything about this or can point me in the right direction? i cant seem to find where OOTB fonts are stored and dig my way in from there...

 

Thanks in advance.

Kasper

5 REPLIES 5

isabellarossi59
Giga Contributor

it looks like you are facing problem using custom font in email notification. using custom font in email notification, make sure that the font linked correctly in your html file including font family in css. for step-by-step instruction check out this article on how to add font in html