Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Skin form — Components tab — General — Custom styles

Updated on April 5, 2022

You can specify a custom style on the Advanced tab of the Properties panel. You must enter the custom style name.

  1. Click Add item.
  2. Type a Style Name that describes the purpose, rather than the style, using lowercase characters and hyphens, as needed. Note the primary category of purpose first, for example, ".marker-form-error", not FormErrorMarker_DivWhite". custom_ is prepended to the class name that you specify.
  3. Define the style in the CSS field and click the Gear icon to open the Style Editor.

    To edit an existing custom style, click in the row that you want to edit and click the Gear icon to open the Style Editor.

Note: You must type the name custom_ classname on the Advanced tab of the cell properties panel to use this custom style.

As a best practice, refer to CSS files, classes, and identifiers using lowercase and hyphens. Hyphens improve readability, the semantic value of the item, and match the syntax of CSS attributes, for example, margin-left. Avoid articles and conjunctions, such as the, and, or, if, etc.

To delete a custom style, select the style and click the delete icon.

When customizing layout styles, it is a best practice to define a custom style in a skin and not inline styles within the layout's properties panel. When you save a section that contains an inline style, a guardrail warning appears and you have the option to use the Remove Inline Style command button.

Skin rules

  • Component styles (custom style formats)

    Use the Component styles tab to define the presentation of components by creating custom style formats. After you define style formats, reference them on property panes for sections, harnesses, and controls.

  • Previous topic Skin form — Components tab — General — Button area
  • Next topic Skin form — Components tab — General — Errors

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us