Setting Default Font

4 posts, 1 answers
  1. Justin
    Justin avatar
    6 posts
    Member since:
    Jun 2008

    Posted 25 Feb 2009 Link to this post

    Hi all,

    I am wanting to strip our implementation down to only one font: Arial. I have modified the ListToolsFile.xml to have the following:
    <fontNames>
     <fontName name="Arial"/>
    </fontNames>

    However the default font is still Times New Roman. When I start typing the font is stuck in Times New Roman until I manually change it to the only available font which is Arial.

    Can anyone please advise on how to stop the editor defaulting to Times New Roman.

    Many thanks

    Justin
  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 25 Feb 2009 Link to this post

    Hi Justin,

    In order to set the default font to the RadEditor editing area you need to modify the CssEditor.css file located in  /Program Files/Common Files/Microsoft Shared/web server extensions/wpresources/RadEditorSharePoint/4.5.4.0__1f131a624888eeed/RadControls/Editor
    For example add the following code:
    body  
        font-familyArial

    Sincerely yours,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.

  3. Justin
    Justin avatar
    6 posts
    Member since:
    Jun 2008

    Posted 25 Feb 2009 Link to this post

    Hi Stanimir,

    Apologies if I have posted on the wrong forum. Unfortunately I do not have this CSS file as I have full version 5.3 installed as the MOSS Editor.

    In the following path, I am unable to find any appropriate files to add this to:
    C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint\5.3.1.0__1f131a624888eeed\

    Are you able to guide me as to what I need to modify for this version?

    Many thanks

    Justin
  4. Answer
    Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 26 Feb 2009 Link to this post

    Hi Justin,

    You can find e detailed information on defining custom CSS styles in RadEditor for MOSS in our online help.
    http://www.telerik.com/help/aspnet-ajax/defining-custom-css-styles.html

    I think that you will find the article helpful.

    Kind regards,
    Stanimir
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top