To create a fullscreen fluid grid with varying item sizes using Webflow’s Collection List, you need to combine CSS Grid layout with specific styling techniques that allow items to span multiple rows and columns.
Webflow doesn’t directly let you span grid items across multiple rows/columns dynamically based on content, but you can manually size them based on Collection fields.
Add custom fields in your CMS for:
Number of columns to span (e.g., 1, 2)
Number of rows to span (e.g., 1, 2)
With those fields, give each Collection Item a custom CMS class name or embed attributes using a custom attribute or a script.
style
attributes using dynamic fields:<div style="grid-column: span 2; grid-row: span 2;">
data-col
, data-row
) and apply custom JavaScript to read and apply these values after page load.grid-row
and grid-column
span values.To build a fullscreen fluid grid with differently sized CMS items in Webflow, use CSS Grid on the Collection Wrapper, create CMS fields to define item spans, and use custom styling via inline styles, attributes, or scripts to allow items to span multiple rows/columns.