Welcome to Community Week 2025! Join us to learn, connect, and be recognized as we celebrate the spirit of Community and the power of AI. Get the details  

Knowledge Article Templates - Change Heading Size?

LOUDNOISES
Tera Expert

Default article heading sizes are too big. I'm trying to find a way to style them down, but I just can't figure out what I need to put into the "Field Style" box in my article template to apply the resizing I want. The "font-size" tag appears to only apply to P text. I can't get the style to apply to h1{font-size} h2 etc.

 

Am I just misunderstanding how this field works? Shouldn't this be creating an override of a CSS somewhere? 

1 ACCEPTED SOLUTION
7 REPLIES 7

Ok I am creating a story for my external devs to create for me a couple of templates, I'll see if they can do it then ask HOW, and post here if possible.

 

As a PO, I want to be able to create articles with a default font other than Verdana 8pt.

Template 1:

Name: Standard - Arial font

Description: Standard template with font Arial.

Heading style: Same as the existing Standard template in ServiceNow

Field style:

H1: Arial 18pt bold
H2: Arial 14pt bold
H3: Arial 12pt bold
H4: Arial 10pt bold
Paragraph: Arial 10pt

Note: No fields names required (such as Introduction, Instructions), just blank

 

Template 2:

Name: What is - Arial font

Heading style: Same as the existing What is template in ServiceNow

Field style:

H1: Arial 18pt bold
H2: Arial 14pt bold
H3: Arial 12pt bold
H4: Arial 10pt bold
Paragraph: Arial 10pt

Field styles above applies to all Field names below): 

Introduction (order 100, HTML, mandatory)

Explanation (order 100, HTML, mandatory)

Thanks. Please keep me posted on that.