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

Setting Default Font

3 Answers 73 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Justin
Top achievements
Rank 1
Justin asked on 25 Feb 2009, 06:13 AM
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

3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 25 Feb 2009, 03:31 PM
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.
0
Justin
Top achievements
Rank 1
answered on 25 Feb 2009, 09:25 PM
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
0
Accepted
Stanimir
Telerik team
answered on 26 Feb 2009, 08:04 AM
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.
Tags
WebParts for SharePoint
Asked by
Justin
Top achievements
Rank 1
Answers by
Stanimir
Telerik team
Justin
Top achievements
Rank 1
Share this question
or