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

You can open the related page in designer and then go to Page button as shown below and apply this CSS in it

find_real_file.png

Hi Alikutty,

Thanks for the response. This one works on page level is there something i can do for the whole portal itself rather than doing it for each page?

For this,

Go to your portal record and open the its theme record. Under related lists, you could find CSS Includes. Create a new CSS stylesheet and include your CSS in it as.

body{

  font-size: 16px;

}

Hi Alikutty,

that's what i tried and it is defaulting to 18 font size for some reason.

This is because the font-size is declared to 18 somewhere within your page or widget CSS. You will need to find where it is declared and remove it. The Theme CSS is at a higher level and the page, widget CSS will always override it. 

Please check where it comes from and remove it