开发者

how to load css classes from my own project specfic css in Sitecore's RAD editor?

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.


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.


Depending on the version of Sitecore you're using there's different ways since in 6.4 there is a new wysiwyg from Telerik's updated library.

pre 6.4 Multisite Rich Text Editor Custom CSS

6.4+ Multisite Rich Text Editor Custom Css


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" />  
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜