Share via


Default Font and Font-Size in SharePoint Web Part

Question

Tuesday, July 6, 2010 8:43 PM

I created a custom theme on a SharePoint Publishing Portal and set the body font to Arial.  The Page Content holders display the text as Arial 10pt - which is fine - but my content editor web parts continue to display text in Verdana 8pt.

Is there a way to get web part text to inherit the body font theme?  Failing that, where can I change the default font settings for my web parts?

Eric

All replies (4)

Tuesday, July 6, 2010 9:32 PM âś…Answered | 2 votes

The default font settings for the body of a content editor web part are controlled by the .ms-rte-wpbox style in the corev4.css file.  To change it you will need to override that style with your own CSS.Paul Stork SharePoint Server MVP


Tuesday, July 6, 2010 9:52 PM

Thank you for pointing me in the right direction.


Tuesday, May 1, 2012 8:04 PM

Paul,

Do you happen to know the style for the SP2010 new items font and size?

Beth


Tuesday, May 1, 2012 8:23 PM

If you use IE Developer toolbar or FireBug for FireFox you can find the styles that are used and customize your styles sheet.

Heather Waterman SharePoint Desginer www.heatherwaterman.com