How can I create a responsive grid layout in Webflow with an image and text, which stacks in a 2 x 1 layout on mobile?

TL;DR
  • Create a Div Block set to Grid with 2 columns and 1 row for desktop, placing the image and text in separate cells.  
  • On the mobile breakpoint, change the grid to 1 column and 2 rows to stack content vertically, adjusting item order and styling as needed.

To create a responsive grid layout in Webflow with an image and text that stacks in a 2 x 1 layout on mobile (one on top of the other), use Webflow’s CSS Grid feature with responsive settings.

1. Create a Grid Container

  • Drag a Div Block onto the canvas and give it a class name like “Grid Layout”.
  • In the Style panel, set the display to Grid.

2. Configure the Desktop Layout

  • In the grid layout settings, create 1 row and 2 columns.
  • Add your Image in the first cell and Text Block (or Div with text) in the second cell.
  • Adjust gaps, padding, or alignment as needed for spacing.

3. Switch to Mobile Breakpoint

  • Click the mobile portrait viewport in the top bar to adjust styles for mobile.
  • With the grid selected, in the Style panel under Grid settings, change columns to 1 and rows to 2.
  • The layout should now stack vertically: image on top, text below.

4. Optional: Adjust Order if Needed

  • If you want the text to appear above the image on mobile:
  • Select the grid items and use Manual positioning in Grid settings or set the order property in the Style panel for each item.

5. Responsive Text & Image Settings

  • Make sure the image is set to 100% width or “Cover” depending on your design needs.
  • Use relative units (like percentages, VW/VH, or EMs) for margins and font sizes to improve responsiveness.

Summary

Set a 2-column grid for desktop and switch to a 1-column, 2-row layout on mobile using Webflow’s Grid settings at different breakpoints. Adjust order and styling as needed for clean stacking behavior.

Rate this answer

Other Webflow Questions