Skip to main content
Feedback

Presentation component 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 presentation components.

Default player CSS

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

Class/SelectorDescription
.page-component-presentationThe main class applied to the entire presentation component in a flow.
For example, to increase the padding around all presentation components in a flow:.page-component-presentation {padding:15px}

Default legacy player CSS

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

Note: Presentation components can include a wide range of content types, and the CSS classes for these may be covered in another section in this reference, such as Typography CSS that relates to textual content elements for example.

Class/SelectorDescription
.mw-bs .mw-presentationThe main class applied to the entire presentation component.
For example, to add padding around the entire component:.mw-bs .mw-presentation {padding:15px}
.mw-bs table, .mw-bs th, .mw-bs tdThe main classes applied to all tables.
For example, to modify the background color of the entire table:.mw-bs table {background-color:#cccccc}
.mw-bs videoThe main class applied to HTML5 video media embedded in a presentation component.
For example, to add a border around the video:.mw-bs video {border:1px solid black}
On this Page