The CreatorCon Call for Content is officially open! Get started here.

How Can I Set a Default Font Family and Font Size for HTML Fields in Knowledge Articles?

SandeepKSingh
Kilo Sage

I want to ensure that all HTML fields in my Knowledge Articles have a consistent font family and font size. Could someone provide guidance on how to apply these default styles across all Knowledge Articles? Any help with implementing this would be greatly appreciated.

 

2 ACCEPTED SOLUTIONS

Bhavya11
Kilo Patron
Kilo Patron

Hi @SandeepKSingh ,

 

You can right click the "text" html field and choose "Configure dictionary". Then insert this into the default value

 

then add this in default value <p><span style="font-family: arial ; font-size: 14pt;">&nbsp;</span></p>

Then all new knowledge articles will start with this font size and font family.

 

 

Please, remember to mark Correct or Helpful if you find my response useful.

 

 

Thanks,

BK

View solution in original post

Ravi Gaurav
Giga Sage
Giga Sage

Hi @SandeepKSingh 

Try the below code :-

<p><span style="font-family: serif, sans-serif; font-size: 12pt;">&nbsp;</span></p>

--------------------------------------------------------------------------------------------------------------------------


If you found my response helpful, I would greatly appreciate it if you could mark it as "Accepted Solution" and "Helpful."
Your support not only benefits the community but also encourages me to continue assisting. Thank you so much!

Thanks and Regards
Ravi Gaurav | ServiceNow MVP 2025,2024 | ServiceNow Practice Lead | Solution Architect
CGI
M.Tech in Data Science & AI

 YouTube: https://www.youtube.com/@learnservicenowwithravi
 LinkedIn: https://www.linkedin.com/in/ravi-gaurav-a67542aa/

View solution in original post

5 REPLIES 5

Never mind... figured it out. if you use this as your default value <p style="font-family: arial ; font-size: 12pt;"></p> the asterisks will be gray like it is filled out but will still act like it is mandatory.