Skip to main content
Feedback

Tiles 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 tiles components.

Default player CSS

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

Class/SelectorDescription
.page-component-tileThe main class applied to the entire component.
For example, to increase the padding around the component:
.page-component-tile {padding:15px}
.tiles-headerThe main class applied to the label heading of each individual tile.
For example, to increase the font size of each tile label heading:
.tiles-header {font-size:20px}
.tiles-bodyThe main class applied to the middle content of each individual tile.
For example, to increase the font size of content within the tile:
.tiles-body {font-size:16px}
.tiles-detailsThe main class applied to the bottom footer content of each individual tile.
For example, to increase the font size of footer items within the tile:
.tiles-details {font-size:16px}

Default legacy player CSS

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

Class/SelectorDescription
.mw-bs .mw-tilesThe main class applied to the entire component.
For example, to increase the padding around the component:
.mw-bs .mw-tiles {padding:15px}
.mw-bs .mw-tiles-itemsThe main class applied to all the tiles, as a group.
For example, to increase the padding around the tiles group:
.mw-bs .mw-tiles-items {padding:15px}
.mw-bs .mw-tiles-item-containerThe main class applied to each individual tile container.
For example, to increase the size of each tile from the 300px default:
.mw-bs .mw-tiles-item-container {height:400px;width:400px}
.mw-bs .mw-tiles-item-headerThe main class applied to the label heading of each individual tile.
For example, to increase the font size of each tile label heading:
.mw-bs .mw-tiles-item-header {font-size:20px}
.mw-bs .mw-tiles-item-contentThe main class applied to the middle content of each individual tile.
For example, to increase the font size of content within the tile:
.mw-bs .mw-tiles-item-content {font-size:16px}
.mw-bs .mw-tiles-item-footerThe main class applied to the bottom footer content of each individual tile.
For example, to increase the font size of footer items within the tile:
.mw-bs .mw-tiles-item-footer {font-size:16px}
.mw-bs .mw-tiles-item-outcomesThe main class applied to the bottom footer content of each individual tile.
For example, to increase the padding around outcome buttons within the tile:
.mw-bs .mw-tiles-item-outcomes {padding:15px}
On this Page