Override font size of text in portal from 14 to 16

Harsha M
Giga Contributor

Hi All,

I am trying to change the font size on all text in the body widgets from 14 to 16 how can i do that?

I tried adding css as below but the size is defaulting 18 for some reason. Any help on this is appreciated.

body {

font-size: 16px;
}

find_real_file.png

1 ACCEPTED SOLUTION

Alikutty A
Tera Sage

Hi Santosh,


Please follow these steps to update the font.

1) Control + Right click on your widget and open it in the Page in designer.

2) Go to the Page setting gear icon at top right corner and add the following in its Page specific CSS field

.list-group{

  font-size: 16px;

}

This should apply the require font size to your list groups

View solution in original post

9 REPLIES 9

Ankur Bawiskar
Tera Patron
Tera Patron

Hi Santosh,

Where did you update the size?

Regards

Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

I added a style sheet in service portal --> CSS and i added it to CSS included in Service portal --> themes.

Alikutty A
Tera Sage

Hi Santosh,


Please follow these steps to update the font.

1) Control + Right click on your widget and open it in the Page in designer.

2) Go to the Page setting gear icon at top right corner and add the following in its Page specific CSS field

.list-group{

  font-size: 16px;

}

This should apply the require font size to your list groups

Hi Alikutty,

Where do i right click on widget? i opened the page in designer and tried to CTRL+ Right click nothing happens.Also i am looking for changing it across the portal not on a widget level.