views:

209

answers:

2

how to load css classes from my own project specfic css in Sitecore's RAD editor? I want to give option to client to add predefined css class to any needed element.

A: 

Put the css in default.css in your websites' root folder and restart IIS. Sitecore RAD editor should pick up the classes, although we found it could take a couple of restarts.

adam
but i'm in multiple site environment. and root folders means? i use sitename/css/ folder
metal-gear-solid
The web root is `Sitecore/SiteName/Website` - there will already be a `default.css` file in place, just add your css to that
adam
A: 

As stated by Adam you can add this to the default.css file. However if you want to move the CSS file else where then you need to updated the following setting in the web.config (this is the Sitecore 6 setting name, it maybe different in early versions):

<setting name="WebStylesheet" value="default.css" />

Michael Edwards