Article Categories
Archives
Post Categories
  Jump to Information for:
Search:  

Ever wanted to change the style of the text within a Content Editor Web Part (CEWP)?  Add these custom styles to your style sheet:

CEWP paragraph formatting
div.ms-WPBody {}

CEWP H1 header formatting
div.ms-wpbody p h1, div.ms-wpbody h1 {}

CEWP H2 header formatting
div.ms-wpbody p h2, div.ms-wpbody h2 {}

CEWP H3 header formatting
div.ms-wpbody p h3, div.ms-wpbody h3 {}

CEWP unordered and ordered list formatting
div.ms-wpbody p ul, div.ms-wpbody ul {} 
div.ms-wpbody p ol, div.ms-wpbody ol {} 

CEWP links formatting
div.ms-wpbody a:link {}
div.ms-wpbody a:visited {}
div.ms-wpbody a:hover {}  

UPDATE 9/12/05: Shane posts some additional info about this topic.

posted on Thursday, August 25, 2005 8:04 PM
Comments
  • # Customize the content editor web part:
    Graphical Wonder
    Posted @ 8/26/2005 4:54 AM
    I just noticed this on Heathers blog, it's a good tip, something that would be customized fairly often. One thing I will point out is that there is a slight quirk with the content editor web part title. I will...
  • # SharePoint Design Tips
    Heather Solomon - MVP, WSS - Blo
    Posted @ 3/27/2006 11:12 AM
Title  
Name  
Email (never displayed)
Url
Comments   
ALL COMMENTS ARE MODERATED! Sorry for the inconvenience, but it is how I keep all of the spam and advertisers out. I moderate comments about once a week and your comment will appear soon. Thanks for posting!
Please add 7 and 5 and type the answer here:

Copyright © 2005-2008. Heather Solomon.
Site design by Heather Solomon

Blog Stats:
Posts - 375
Stories - 38
Comments - 1444
Trackbacks - 182