This is a migrated thread and some comments may be shown as answers.

Settings Default Font-Size

4 Answers 76 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
IT Betrieb
Top achievements
Rank 1
IT Betrieb asked on 02 Dec 2008, 04:25 PM
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



4 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 03 Dec 2008, 09:31 AM
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.
0
IT Betrieb
Top achievements
Rank 1
answered on 05 Dec 2008, 12:35 PM
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...
0
Stanimir
Telerik team
answered on 05 Dec 2008, 05:10 PM
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.
0
IT Betrieb
Top achievements
Rank 1
answered on 09 Dec 2008, 09:57 AM
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
Tags
WebParts for SharePoint
Asked by
IT Betrieb
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
IT Betrieb
Top achievements
Rank 1
Share this question
or