XHTML Editor Custom Content CSS Files
- User groups must exist for administrators to configure the Group option. See Creating Groups for details.
- The importcss plugin must be selected for all applicable default and group
options in Administration > System
Options > CMS > XHTML
Editor > Plugin Selection. See XHTML Editor
Plugin Selection for details about applying plugins.CautionSelecting this plugin overrides the default Format options of the XHTML editor.
- One of the following:
- The systems administrator must 1) create the custom CSS file(s) that contains all XHTML editor classes and styling, and 2) save the CSS file(s) in [Drive]:[path-to-CMS-root-folder]\App_Data\XML.
- The administrator must 1) create the custom CSS file(s) that contains all XHTML editor classes and styling, and 2) save the CSS file in the CMS Assets Tree.
Administrators can provide custom CSS classes within CSS files to customize XHTML editor formats. Specify the CSS file(s) by default or on a "per group" basis.
- Navigate to
- Choose one of the following steps:
Additional InformationCautionIf you configure multiple options, save your changes after configuring each option. If you switch from one option to another without saving, you lose your changes.
- Select the Default option to specify the CSS file for all users.
- Select the Group option to specify the CSS file on a "per group" basis, and select the group from the drop-down list. The CSS file only applies to the selected group.
If groups have a CSS file, a checkmark (☑) displays next to the group. To clear the group's CSS file, hover over the checkmark and select the Restore Defaults minus (-) icon.
If you configure a CSS file for the Default option and the per individual Group option, each group's CSS file automatically overrides the Default option for applicable users.
- Enter the CSS file's relative path or asset ID in the CSS File
Path field. Additional Information
The custom CSS file can live in [Drive]:[path-to-CMS-root-folder]\App_Data\XML via the CMS file system or in the Assets Tree via the CMS user interface.
If you specify the file location in the CMS file system, the field requires the filepath to be relative to the XML folder. Only system administrators can access the CMS file system.
If you specify the file location in the Assets Tree, the field requires the asset ID (a/ID). Users with permissions can access the CSS file.
- Click Save. The CMS implements styling to XHTML editor formats with classes identified in the CSS file.
Choose one of the following optional steps.