Webflow sync, pageviews & more.
NEW

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 two-column grid with an image and text for desktop, then switch to a single-column (2 rows) layout on mobile by editing the grid or using Flexbox.
  • Adjust padding, width, and scaling per breakpoint to ensure proper spacing and responsiveness across all devices.

To create a responsive grid layout in Webflow where the image and text stack vertically (2 x 1) on mobile, follow these steps:

1. Create a Grid Layout

  • Drag a Section from the Add panel onto the page.
  • Inside the section, add a Div Block and name it something like “Responsive Grid.”
  • With the Div Block selected, go to the Style panel and set the Display property to Grid.
  • Click the Edit Grid button and create 1 row and 2 columns.

2. Add Image and Text to the Grid

  • In the first column of the grid, add an Image element.
  • In the second column, add a Text Block or Heading and any other text elements you'd like.
  • This gives you a two-column layout on desktop and tablet views.

3. Adjust Grid for Mobile Layout

  • Switch to the Mobile Landscape and Mobile Portrait breakpoints using the top toolbar.
  • With the “Responsive Grid” selected, click Edit Grid, then:
  • Change the grid layout to just 2 rows, 1 column.
  • Move the Image to Row 1, Column 1 and Text to Row 2, Column 1.

Alternatively, instead of editing the grid, you can:

  • With the grid selected on mobile view, set Display: Flex (vertical direction) instead of Grid for more control, if needed.

4. Ensure Proper Spacing

  • Add margin or padding between the image and text to improve spacing on mobile.
  • Make sure both the image and text are set to 100% width or auto to adapt well on smaller screens.

5. Make It Fully Responsive

  • Test across all breakpoints: Desktop, Tablet, Mobile Landscape, and Mobile Portrait.
  • Adjust font sizes, spacing, and image scaling as needed per breakpoint in the Style panel.

Summary

Set up a two-column grid on larger screens and switch to a single-column (2x1) layout on mobile by editing the grid structure per breakpoint. Use the Grid or Flexbox layout tools and ensure responsive design best practices for clean stacking.

Rate this answer

Other Webflow Questions