The height of each cell in your grid is primarily determined by the length of it’s content. Title and content elements in particular can have varying lengths that produce cells with uneven sizes.
For some layouts such as our cards preset, having an uneven size produces a desired effect. For others however you may prefer all cells to have equal heights regardless of their content.
Dyggrid provide 2 options for achieving equal cell heights:
When equalise is checked, all cell heights are equalised to the current tallest each time content is loaded. If you have a load more option configured, cells will be re-equalised with each page load.
Equalise cell heights works in a similar way to equalise title heights, the latter applying to the title element only.
Cell Aspect Ratio
With this setting, every cell is forced to the same aspect ratio by modifying it’s height. It works the same way as the image aspect ratio setting. Enter an aspect ratio in ‘width:height’ format. The drop down list includes common aspect ratios, but any value can be entered.
Be aware that setting a cell aspect ratio will create issues with certain layouts, e.g.
In this case you could either set a taller aspect ratio, or use the equalise option instead.
You can set both cell height options at the same time. In this case the aspect ratio setting will be overruled if content does not fit.