Settings Default Font-Size

5 posts, 0 answers
  1. IT Betrieb
    IT Betrieb avatar
    15 posts
    Member since:
    Aug 2008

    Posted 02 Dec 2008 Link to this post

    Hi,

    I would like to set the default font size for the edit mode, but all instructions I found said that css files in RadControl\skins... should be edited. Unfortunately I don't have a RadControls Folder in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\5.3.1.0__1f131a624888eeed\Resources

    Regards
    Markus



  2. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 03 Dec 2008 Link to this post

    Hi Markus,
    You can find information on how to add custom CSS styles in our online help.
    http://www.telerik.com/help/aspnet-ajax/defining-custom-css-styles.html

    I think that this will help you.

    Kind regards,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.

  3. IT Betrieb
    IT Betrieb avatar
    15 posts
    Member since:
    Aug 2008

    Posted 05 Dec 2008 Link to this post

    Ok, thanks. But it does only half the job.

    The font-size in the editor is know smaller, but what I want is that the Font-Size DropDown displays "2" as default value.

    Without adding custom css code, I create a new page, click in the editor textarea -> Times New Roman is selected as font and 3 as font-size

    With a CssEditor.css file in "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\5.3.1.0__1f131a624888eeed\Resources" which contains "body { font-size: 13px !important; }" the font in the editor is smaller, but the DropDown does not display "3", but "S..."

    I know it's just convenience, but our customer wants it...
  4. Stanimir
    Admin
    Stanimir avatar
    1653 posts

    Posted 05 Dec 2008 Link to this post

    Hi Mark,

    In order to set the default Font-Size DropDown value to "2", you need to add the following style in the respective CssEditor.css file. This will set the default Font-Name to Arial as well.

    body 
    {     
        font-familyArialVerdanaTahoma !important; 
        font-size10pt !important; 

    You can find more information about Default Font for Editable Content in our online help http://www.telerik.com/help/aspnet-ajax/defaultfontforeditablecontent.html .

    I hope this helps.

    Regards,
    Stanimir
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  5. IT Betrieb
    IT Betrieb avatar
    15 posts
    Member since:
    Aug 2008

    Posted 09 Dec 2008 Link to this post

    I'm so sorry. I knew all these pages, but I always thought font-size 2 means 13pt and not 10 :(

    Thank you very much for your endurance.

    Regards,
    Markus
Back to Top