Webflow sync, pageviews & more.
NEW

Can I create an uneven grid layout using a CMS collection in Webflow?

TL;DR
  • Create a grid container with manual columns and row spans for an uneven structure.
  • Bind a Collection List to the CMS, ensuring it uses a Grid layout.
  • Adjust grid spans for each Collection Item and apply nth-child CSS styles for irregular patterns.
  • Use Conditional Visibility to control item appearance dynamically.
  • Adjust layout with Flexbox on smaller breakpoints for responsiveness.

Yes, you can create an uneven grid layout using a CMS collection in Webflow by customizing the grid structure and using collection list settings. Here’s how:

1. Set Up a Grid Container

  • Add a Div Block and set it to Grid under the Display section.
  • Adjust the grid columns and rows manually to create an uneven structure.
  • Use the manual row/column spans to define unique item sizes.

2. Bind the Collection List to the CMS

  • Drag a Collection List inside the grid div.
  • Connect it to your CMS collection.
  • Ensure Layout is set to Grid in the Collection List Settings.

3. Customize Grid Item Sizing

  • Select the Collection Item and adjust grid spans in the Position & Sizing settings.
  • Use Span X (# of columns) and Span Y (# of rows) for varied item sizes.
  • Apply custom classes to specific items using nth-child CSS styles to create irregular patterns.

4. Use Conditional Visibility (Optional)

  • To fine-tune layouts, apply Conditional Visibility for specific CMS items.
  • You can use a "Featured Item" field to mark larger blocks.

5. Add Flexbox for Responsive Adjustments

  • Switch to Flexbox on smaller breakpoints if needed.
  • Adjust the grid structure per device size using Webflow’s breakpoints.

Summary

You can create an uneven grid layout with a Webflow CMS by customizing grid spans, manual sizing, and conditional visibility. Fine-tune styles for a responsive and visually dynamic layout.

Rate this answer

Other Webflow Questions