How can i add font styles to articles?

chavayoshitha
Kilo Expert

I am trying to add more font styles to the knowledge Articles.

 

I tried adding in the system properties> ui properties 

Calibiri Light=calibiri light,sans-serif;Roboto=roboto,sans-serif;Roboto Light=roboto light,sans-serif;

Calibiri Light=calibiri light;Roboto=roboto;Roboto Light=roboto light; (tried this as well)

Added this the name shows up in the list of html editor but i am unable to get the font-style..

can you let me know where i am doing wrong ?

1 ACCEPTED SOLUTION

Min Ye Soe
Giga Contributor

I've tested some web safe fonts and they all work. I tested Roboto but it didn't work at first since I don't have the font installed in my computer. After font installation and browser restart, the changes can be seen.

Hope this help.

Min

 find_real_file.png

View solution in original post

17 REPLIES 17

Hi Sanjiv!

Hope you've been well.

 

I'm looking to do the same thing...add "Roboto" to the dropdown for the font options for a knowledge article.  I've updated the system property "glide.ui.html.editor.v4.font.collection", but not seeing the font in the dropdown.  Is there more to it?  Thanks!

Did you try clearing the cache in servicenow by doing cache.do and try again?


Please mark this response as correct or helpful if it assisted you with your question.

Hi Sanjiv,

I did the cache.do and Roboto still not appear in the dropdown for fonts in the Article Body.

Here's a screenshot of my system property.

I do have the font installed on my laptop and it is now available in MS Word.

Other config necessary?

What happens if you just add Roboto=roboto?

I am not sure if it is supported by ServiceNow. Below article it says it is not supported and I have never tried it myself

https://www.servicenow.com/community/developer-forum/is-it-possible-to-add-a-custom-font-so-that-it-....

An alternate solution is provided in this link, which maynt be user friendly.

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0754969

 


Please mark this response as correct or helpful if it assisted you with your question.

Unfortunately just "Roboto=roboto" doesn't work either.

The workaround in 

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0754969

 

does work...but agreed it's not very user friendly.

 

Thanks for the help!