- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2024 10:53 PM
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.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2024 11:07 PM
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;"> </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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2024 11:24 PM
Hi @SandeepKSingh
Try the below code :-
<p><span style="font-family: serif, sans-serif; font-size: 12pt;"> </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/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2025 11:24 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
This is not my experience. I'm finding I can save with required HTML fields appearing blank when I have the font and font size set as a default value. We are on Yokohama. What version are you on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Are you only using this as the default value.
<p style="font-family: arial ; font-size: 12pt;"></p>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
This our default value: <p><span style="font-family: Verdana; font-size: 10pt;"> </span></p> I'll try taking out the unnecessary bits and see what happens.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Interesting finding. I changed the default value to <p style="font-family: Verdana ; font-size: 10pt;"></p> and tested in UI16 - worked as you described.
Tested in SOW, no enforcement on mandatory HTML fields with the default value set. 😞
