Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I added a content editor webpart in my sharepoint page. By default it is using 'Verdan' font type. How would I change it to 'Arial' ?

share|improve this question

2 Answers 2

Actual class name to overwrite is ms-WPBody

share|improve this answer

The default font settings for the body of a content editor web part are controlled by the


style in the corev4.css file. To change it you will need to override that style with your own CSS

share|improve this answer
I tried same like you sugested, but did not get the result. in my custom CSS. in CSS I added .ms-rte-wpbox{ font-family: Arial; Font Size: 10px} in designer i added as <SharePoint:CssRegistration Name="CSS Path" After="corev4.css" runat="server"></SharePoint:CssRegistration> ... but still not getting the result.. anything I missed –  Srikanth Mar 29 '12 at 9:42
@ Deep Nair - the class name you suggested was a WRONG ONE and ate a lot of my time. –  Srikanth Mar 29 '12 at 13:12
I apologize for the delay in response. The ms-WPBody would apply styling for any web part in the site. But the class .ms-rte-wpbox should be good enough to change the font style for only rich text boxes. –  Deepu Nair Mar 30 '12 at 16:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.