Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to get Lato font on Description and Rich Text Editor fields?

entcenginee
Tera Contributor

Yokahama version 

 

I am publishing some catalog items on Employee Center. 

As you are aware, default font for Employee Center is Lato

I am using Description and Rich Text Editor fields in my catalog items and would like to keep the fonts on variables and Description / Rich Text Editor uniform. 

 

In the drop-down option of fonts on the Description and Rich Text Editor fields, you don't see Lato at all. 

How can I use Lato font on these fields? 

2 REPLIES 2

pavani_paluri
Tera Guru
Tera Guru

Hi @entcenginee ,

Please try creating a new style sheet add attach to the theme of Employee Center portal with below code.

.sn-html-editor,
.sc-item-card .sc-description,
.sc-item-card .cat-item-short-description,
.sn-html-editor table,
.sn-html-editor p,
.sn-html-editor span,
.sn-html-editor div {
font-family: 'Lato', sans-serif !important;
}

 

Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Pavani P

Hi @pavani_paluri - thanks for responding. 

 

I have created a megamenu / topic on employee center and would like this change to be limited only to this topic. Is it possible?

Also, will there be a maintenance overhead? 

Thanks again.