SaaS CMS has officially launched! Learn more now.

Available styles in Edit mode XHTML property


When I'm in Edit mode of a page with an XHTML property, there's a dropdownlist of styles on the html property window and it's pre-populated. Where does EPiServer actually pulls this data from?

I was wondering if we could add styles here so that non-designers could easily modify the contents and specify styles they want.


Jul 27, 2011 7:12

Referring to the SDK:

It is possible to configure what css-files the editor, as well as the XForm editor loads and uses. This can be configured in two ways.

  1. As a property on the page. 
    This property can be either a dynamic or a standard page property. The property needs to be named UIEditorCssPaths and in the form of a comma separated list of paths to the stylesheets. Setting this in page or dynamic properties will override the correlating setting in Web.config.
  2. As a setting in Web.config.
    If no property is set the fallback will be to use the setting uiEditorCssPaths in web.config. This setting is also in the form of a comma separated list of paths to the stylesheets. The web.config setting will be used if no property on the page is set to point out alternative stylesheets.

Read more here:


Jul 27, 2011 8:54

Thanks Mari! It helped a lot!

Jul 28, 2011 2:03
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.