Default Font - Lite RadEditor/Sharepoint 2007

3 posts, 1 answers
  1. Jann
    Jann avatar
    6 posts
    Member since:
    Feb 2008

    Posted 27 Feb 2008 Link to this post

    Hi,

    I've tried to follow your help article ("Default Font for Editable Content") to set the default font for the RadEditor Content Element and the Webpart but with no success.

    I tried a few things and hope this additional information is usefull to you (Skin was Default2006). I used the following code to see at least something:

    .RadEContent, .RadEContentBordered
    {
        font-family: Arial !important;
        font-size: 30px !important;
        background:lime !important;
    }

    - When I added the lines to the file Skins\Default2006\EditorContentArea.css nothing changed
    - When I added the lines to the file Skins\Default2006\Editor.css the background changed to the color lime (although only in Firefox). The font family and size has not changed at all.

    any idea whats going wrong here?

    cheers
    Jann
  2. Answer
    Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 27 Feb 2008 Link to this post

    Hi Jann,

    There is a little change in the content area styling mechanism in version 1.5 and it is that you need to declare the content formatting properties such as background-color, color, font-family and font-size in a global BODY class, instead of .RadEContent, .RadEContentBordered, e.g.

    BODY
    {
        font-family: Arial !important;
    font-size: 30px !important;
        background:lime !important;
    }
    The BODY tag should be added in the Skins\Default2006\EditorContentArea.css file.

    Save the files. After that delete your browser cache, close the browser, open it again and load the page with the editor. This is needed because the browser caches the styles and you will be not able to see the changes if you do not delete the cache or restart your browser.

    Greetings,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. Jann
    Jann avatar
    6 posts
    Member since:
    Feb 2008

    Posted 27 Feb 2008 Link to this post

    thank you, works now!
Back to Top