Nick Porter's profileNick Porter - SharePoint...BlogLists Tools Help
    6/19/2008

    How to add custom styles to the Content Editor Web Part (Rich Text Editor)

     
    1. Open the stylesheet you are using on your site
    2. Add a new style starting with .ms-rteCustom-
    e.g.
    .ms-rteCustom-Heading1
    {
      font-family: Helvetica, Arial, Verdana;
      font-size:18pt;
      font-weight:bold;
      color:#0087c7;
      line-height:22pt;
    }
     
    3. Save changes
     
    4. Now when you use the rich text editor in the Content Editor web part, your custom styles will appear.

    Comments (2)

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.
    Nick Porter has turned off comments on this page.
    Picture of Anonymous
    Sept. 15
    Picture of Anonymous
    Sept. 15

    Trackbacks

    Weblogs that reference this entry
    • None