Default font - ServiceNow Community

Default font

Aswathy2
Tera Expert

Hi All,

 What is the default font family and font size for the article body text box in a kb article?

  As we can see from below screenshot there are no default settings.

find_real_file.png

6 REPLIES 6

Omkar Mone
Mega Sage

Hi 

When you write something in the article , it embeds it into a HTML code in <p> tag. Now the default font-size of 16px, and its line-height is 1.5. The default font-family is "Helvetica Neue", Helvetica, Arial, sans-serif. In addition, all <p> elements have margin-top: 0 and margin-bottom: 1rem (16px by default).

 

Mark correct if it helps.

 

Regards,

 

Omkar Mone.

www.dxsherpa.com

Hi Omkar,

Thank you for the reply!

Could you please let me know where this is being configured in system?If we want to modify the same,where I can go and change it?

Regards,

Aswathy

Hi 

It is not modified in the system. it is the HTML tag they have created in that way. If we need to change the default font then maybe we need to add some sort of css to that <p> tag by going into the HTML code of that article text.

 

Regards,

Omkar Mone.

www.dxsherpa.com

Hi Swathy,

You can right-click the "text" HTML field and choose "Configure dictionary". Then write below code into the default value:

<p><font size="5">Type here</font></p>

Regards,
Ajay