SharePoint Add Custom styles to RichText Editor/Content Editor WebPart(developmenttricks.blogspot.com)

submitted by muraligollamuraligolla(74) 1 year, 7 months ago

To get available the custom styles (css classess) in content editor web part-Rich Text Editor, the custom style (css class) name in css file should be preceded with ‘.ms-rteCustom-‘. So the final class name will look like .ms-rteCustom-ClassName Add the below css class in your css file (which is used for your site) and save it. .ms-rteCustom-TestClass { Font-size:12pt; } Go to content editor web part tool pane and open Rich Text Editor. Now the above added class will be available under the styles tab on editor. Add the text in the editor --> select the content --> go to styles tab --> select the TestClass class. The TestClass style will be applied for the selected content.

add a comment |category: |Views: 42

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story