Skip to main content
Feedback

Components CSS

warning

The content on this page is outdated and will not receive updates. For the most up-to-date functionality, refer to Setting up and managing flows.

This topic provides examples of the main CSS classes/selectors you can use to customize general component elements.

Default player CSS

You can use the following main classes/selectors to apply additional CSS styling to general component styles in a flow running the default player.

Class/SelectorDescription
.help-info-messageThe main class applied to the Help information about this component component setting.For example, to increase the font size of all component help information text:

css\n.help-info-message {font-size:20px}\n
.requiredThe main class applied to components defined as requiring user input. This is typically rendered as a red text warning that the field is required.For example, to modify the font color of the required asterisk and text.

css\n.required {color:blue}\n
.labelThe main class applied to the Label element on all components, taken from the Label component setting.For example, to increase the font size of all component labels:

css\n.label {font-size:20px}\n

Default legacy player CSS

You can use the following classes/selectors to apply additional CSS styling to general component styles in a flow running the default legacy player.

Class/SelectorDescription
.mw-bs .form-groupThe main class applied to form elements within certain components, such as input components for example.
For example, to modify the background color for form elements:
mw-bs .form-group {background:#cccccc}
.mw-bs .help-blockThe main class applied to the help-block element on all components, taken from the Help information about this component component setting.
For example, to increase the font size of all component help information text:
mw-bs .help-block {font-size:20px}
.mw-bs .input-requiredThe main class applied to components defined as requiring user input. This is typically rendered as a red text warning that the field is required.
For example, to modify the font color of the required asterisk and text:
mw-bs .input-required {color:blue}
.mw-bs .labelThe main class applied to the Label element on all components, taken from the Label component setting.
For example, to increase the font size of all component labels:
mw-bs .label {font-size:20px}
.mw-bs .mw-items-header-searchThe main class applied to the entire search element added to searchable components.
For example, to increase the padding around the entire search element:
mw-bs .mw-items-header-search {padding:15px}
On this Page