A grid of articles in four columns
Eight articles as cards, four per row.
Life cycle: Build, example 20 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Open Layouts > Layouts and the layout Landing Page / Home; the editor opens it in a draft.
- Open the block palette (+ at the top left) and drag List (group Listing) into the zone
main. (or Grid). - Fill the collection (manual or dynamic).
- Select the block, open the Design tab and fill View type
grid, Number of columns 4, Item view type Card. - Publish layout. The pages that use the layout show the block on their next view.
The media design draws the grid with explayouts/block/list/grid.tpl and list/grid/4_columns.tpl.
With templates
- Copy
extension/sevenx_themes_media/design/media/templates/explayouts/block/list/grid/4_columns.tpltoextension/mysite/design/media/templates/explayouts/block/list/grid/4_columns.tpland change your copy; every four-column grid changes (How a block maps to its templates).
Which to choose
Columns are a Design option; change the markup of all four-column grids with the override.
Check
- Four cards per row on a wide screen, fewer on a phone.
Related pages
- The Design tab
- How a block maps to its templates
- Build examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.