New markup for every grid
Cards in grids get a new structure, on every layout at once.
Life cycle: Redesign, example 1 of 34. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
Nothing changes in the layouts: every List block with view grid uses your template.
With templates
- Copy
extension/sevenx_themes_media/design/media/templates/explayouts/block/list/grid.tpltoextension/mysite/design/media/templates/explayouts/block/list/grid.tpl. - Change the markup of the grid; the column variants are in
explayouts/block/list/grid/<n>_columns.tpl. - Clear Template & content and check a page that uses it.
Which to choose
A redesign of a block's look is a template task; the layouts stay as they are.
Check
- A grid on the home page and one in the Prefooter both show the new markup.
Related pages
- How a block maps to its templates
- Your own design extension
- Redesign 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.