Grid layout
Set Layout to Grid (Bootstrap 5) on the Module tab to show the articles as cards in rows. This is the layout of a new module.
Columns
Six fields set the number of cards in a row for each screen width. Each can be 1, 2, 3, 4 or 6.
| Option | Screen width | Default |
|---|---|---|
| Columns (Extra small) | under 576 px (phones) | 1 |
| Columns (Small) | from 576 px | 2 |
| Columns (Medium) | from 768 px (tablets) | 3 |
| Columns (Large) | from 992 px | 4 |
| Columns (Extra Large) | from 1200 px | 4 |
| Columns (Extra extra large) | from 1400 px | 6 |
The widths are the Bootstrap 5 breakpoints. The width of the row is the width of the module position, so a module in a narrow sidebar looks best with one column.
Bootstrap is needed
The grid uses Bootstrap 5 classes such as col-md-4. Joomla's Cassiopeia template loads Bootstrap 5. On a template without it, the cards stack in one column. Use the Carousel layout there, as it brings its own styles.
Card height
All cards in a row stretch to the same height. A card with a long title or intro text makes the row taller. Use Title Limit and Intro Limit to keep the cards even, see Title and intro text.
Text alignment
Text Align sets the text of the cards to Center (the first option), Left or Right.