Sharepoint 2010 Custom Class For Content Editor Web Part Css Syntax

/ Published in: CSS
Save to your folder(s)

Further below in the code are the default style declarations that can be overridden in custom css. To create custom classes that will be available in the rich text editors, follow the example below:

.ms-rteElement-appleRed {

Note: for the above custom-named style to appear in the rich text editor, it must live in a css file linked directly from the master page. That is, it will not work if it lives in a css file that is linked via an @import in another css file.

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.