You are here: Administrators Reference > Site Administration > Content Formatting > Assigning Classes to Individual Elements


Assigning Classes to Individual Elements

To allow contributors with Style privileges to select a particular class for CommonSpot Elements or Element subcomponents, first register the class, then assign it as an available option for the appropriate Element or Element subcomponent. See Elements & Forms

This process consists of the following steps:

  1. Add a class with the desired style rules to a .CSS file.
  2. Save the .CSS file in your site's /style/ subdirectory.
  3. Register the class name through the Manage Classes and the Register CSS Class dialogs.
  4. Assign the class to the Element and/or subcomponent types using either the Assign Classes by Class Name or Assign Classes by Element Type dialog.
  5. Enable style sheets for the relevant page and add the .CSS file to the style sheet set using the Page Style Sheets and Style Sheets dialogs.

Once you create style associations, content contributors with Style privileges can select classes for specific Elements and/or subcomponents through the associated Element Style dialog, accessed by clicking the Element Tool and choosing Style.


Related Links

You can download PDF versions of the Content Contributor's, Administrator's, and Elements Reference documents from the support section of (requires login).

For technical support: