Creating Custom Styles for Rich Text

Customers have the ability to control the custom styles that are displayed in the Rich Text Editor widget. Before configuring the settings to display the correct style names, you must first ensure that the styles exist. They can either be part of your theme (see Working with Themes). Or you can enter override CSS as part of the template (see Styling Templates). Once you are sure that the CSS classes exist complete the following steps. 

  1. On the server, open the following file in a text editor: <Percussion>/rx_resources/css/PercRichTextCustomStyles.properties 
  2. Delete the styles/entries for which you have no corresponding CSS Class
  3. Add your own entries in the following format: <CSS_class_name>:<Class Description>
    Example: blueBorder:Blue Border
  4. Save changes

Once complete your custom styles will display within the Rich Text Editor when selecting Formats > Custom Styles.