Adding CSS helper classes
If you need to define an additional helper class, you can add a Cascading Style Sheet (CSS) file to your application skin. You can define a helper class for a cell, a layout, or both. The helper class that you define is then available from the helper class picker on the Properties panel.
Create the CSS helper class in a CSS file.
For each helper class, add a comment before the CSS Selector:
For the type, enter helper-class.
Enter a name.
Enter a category of layout or cell. If the helper class can be used for either category, enter layout,cell.
Enter a description on a single line, as shown in the following example:
Description: primary styling for text
On the Included styles tab of the Skin form, attach the CSS file as an additional style sheet in your application skin. For more information, see Included styles.
- CSShelper classes
Rather than creating a new skin format, apply standard, predefined Cascading Style Sheet (CSS) helper classes to make a minor formatting change to a cell or dynamic layout. Using CSS helper classes saves development time, reduces maintenance by limiting the number of customized skin formats, and improves the consistency of the look and feel of you
- Adjusting cell styling with helper classes
Apply a Cascading Style Sheet (CSS) helper class to a cell to alter its default styling or behavior in a small way, without creating a new skin format. For example, use a helper class to center an element in a cell.
- Adjusting layout styling by using CSS helper classes
Apply a Cascading Style Sheet (CSS) helper class to a dynamic layout to alter the default styling or behavior in a small way, without creating a new skin format. For example, use a helper class to apply twice the standard margin to the right side of an item in the layout.