Webflow sync, pageviews & more.
NEW

How can I reverse the order of an image and text in Webflow so that the text appears above the image on mobile view while maintaining the original order on desktop view?

TL;DR
  • Wrap image and text in a flex container with horizontal (row) layout for desktop.
  • Set the container to column-reverse on mobile to reverse the order, and adjust spacing as needed.

To reverse the order of image and text elements on mobile view in Webflow while maintaining their desktop layout, you can adjust the layout using Flexbox combined with responsive settings.

1. Use a Flexbox Container

  • Wrap the image and text elements inside a div block (container).
  • Select the container and go to the Style panel.
  • Under Layout, set it to Flex and choose Horizontal (Row) for desktop.

2. Set Flex Direction for Mobile

  • While still selecting the container, switch to the Mobile Portrait view in the top-responsive nav bar.
  • In the Style panel, change the flex direction to Vertical (Column Reverse).
  • This will reverse the stacking order so that text appears above the image on mobile.

3. Ensure No Manual Positioning Conflicts

  • Make sure the individual text and image elements do not have custom positioning (absolute/fixed) that could override the flex layout.
  • Check that margins and paddings are adjusted so layout changes don’t introduce gaps or overlaps.

4. Add Responsive Spacing if Needed

  • You may need to tweak padding or margin values specifically for mobile to optimize spacing now that the content order has changed.

Summary

Wrap the image and text in a flex container, set the desktop layout to row, and use column-reverse on mobile view. This will swap the order visually on smaller screens without affecting the desktop display.

Rate this answer

Other Webflow Questions