To create a row with 5 columns in Webflow, you’ll typically use a Grid or Flexbox layout. The most precise method is using the Grid layout.
1. Add a Section and Container
- Drag a Section onto your Webflow canvas.
- Add a Container or Div Block inside the Section to constrain content width if needed.
2. Use a Grid Layout
- Drag a Grid element into the container.
- In the Grid settings, set Columns to 5 and Rows to 1.
- This creates a single-row grid with 5 evenly spaced columns.
3. Insert Content into Grid Cells
- Click each grid cell, then drag in the elements you want (e.g., Divs, Images, Text Blocks).
- Make sure you're placing one item in each cell unless you intend to span columns.
4. Customize Column Sizes (Optional)
- By default, each column will have equal width.
- To change this, select the Grid, go to the Style panel, and adjust column sizing (e.g., set fractional units like 1fr, or use pixel/em/rem values).
- To make the columns responsive, consider using auto-fit behavior with a minimum column width using CSS Grid settings in Custom Code or with advanced Webflow settings.
5. Use Flexbox as an Alternative (Optional)
If Grid feels too rigid, you can use Flexbox to make a 5-column layout:
- Add a Div Block and set its display to Flex – horizontal direction.
- Inside, add 5 child Div Blocks and set each to flex-basis: 20% or width: 20% for equal spacing.
- Ensure Wrapping is turned off if you want them in a single row regardless of screen width.
Summary
Use a Grid with 1 row and 5 columns for a simple 5-column row layout. For more flexible control, you can use Flexbox with 5 child elements at 20% width each.