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

CSS style not applyed

1 Answer 51 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
Guillaume
Top achievements
Rank 1
Guillaume asked on 27 Nov 2007, 09:01 AM
Hi,

I'm opening a new post because i don't exactly have the same problem as elcarlos14 in the previous post about css.
I'm using RadEditor Lite and added the ApplyClass tool to edit wiki pages. Unfortunately when i apply custom styles it works in the editor but the style doesn't work in the wiki page.
Apparently Sharepoint css is taking control over the custom style...

Any solution ?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 28 Nov 2007, 04:54 PM
Hi,

Unfortunately, we have no control over the presentation mode for the list editor scenario (wikis, blogs, etc.). This means that we cannot register the editor css files when you are viewing the content. You have two alternatives:

- you can copy the CSS styles you need in the core.css file in \Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\STYLES\CORE.CSS. This file is always loaded on the wiki pages so your styles should work.

- you can add a new CSS file into your master page manually, using SharePoint Designer. By default, the wiki pages use the /_catalogs/masterpage/default.master file. Open the wiki site in SharePoint Designer and then open this file for editing. Add a new <link .../> with the path to your CSS file in the head portion of the page.

Sincerely yours,
Lini
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
WebParts for SharePoint
Asked by
Guillaume
Top achievements
Rank 1
Answers by
Lini
Telerik team
Share this question
or