Knowledge articles in Service Portal: same format (font size, font) as the rest of the portal

rody-bjerke
Giga Guru

Hi,

Is it possible to format the KB Article Page widget in the Service Portal to show every knowledge article in a certain format? Let's say you  can add a knowledge article in the UI16 and do whatever you like with the article. But when going into the Service Portal and showing a Knowledge Article, you will show the article in the Service Portal in a certain way. Let's say want all the text to be Arial and you want the text to have Size 10. So that the knowledge article is more like the rest of the portal when it comes to design. Is that possible to override in any way?

 

Best regards,

1 ACCEPTED SOLUTION

Bhagyashree8
Kilo Guru

Hi,

CLone the widget (KB Article Page) and add below to the css part of the widget.

.kb_article{
  *{
     font-size: 12px !important;
    font-family: Arial, Helvetica, sans-serif;
  }
  p{
    font-size: 14px !important;
    font-family: Arial, Helvetica, sans-serif;
  }
  
}

 

* means it will apply to everything in article content on portal. Then you can individually override it like P will have 14 pixel and so on.

 


Mark my ANSWER as CORRECT / HELPFUL if it served your purpose.

View solution in original post

3 REPLIES 3

Swathi12
Tera Expert

Hi Rody,

 

This can be handled in the widget css. could you please provide a screenshot of the page you are talking about.

 

Regards,

swathi

Bhagyashree8
Kilo Guru

Hi,

CLone the widget (KB Article Page) and add below to the css part of the widget.

.kb_article{
  *{
     font-size: 12px !important;
    font-family: Arial, Helvetica, sans-serif;
  }
  p{
    font-size: 14px !important;
    font-family: Arial, Helvetica, sans-serif;
  }
  
}

 

* means it will apply to everything in article content on portal. Then you can individually override it like P will have 14 pixel and so on.

 


Mark my ANSWER as CORRECT / HELPFUL if it served your purpose.

Have a simple question, how to show knowledge article on portal. Basically want to show the as-is content of the knowledge article. Tried using kb article page widget but not sure how to add article. The widget shows no article found by default.