How can I adjust the grid order in Webflow without affecting the desktop view?

Published on
September 22, 2023

To adjust the grid order in Webflow without affecting the desktop view, you can utilize the built-in "Order" property of flexbox. The flexbox order property allows you to change the visual order of grid items without altering the HTML structure. Here's how you can do it:

  1. Select the grid item(s) that you want to adjust the order for.
  2. In the Styles panel, navigate to the "Display" section and set the display property to "Flex".
  3. Once the display property is set to "Flex", additional Flexbox properties will appear. Locate the "Order" property.
  4. Adjust the "Order" value of the selected grid item(s) to change their visual order. By default, all grid items have an order of 0.
  5. A lower order value will move an item to the beginning of the grid, while a higher order value will push it to the end.
  6. Repeat the process for any other grid items you want to reorder.

By following these steps, you can easily adjust the grid order in Webflow while maintaining the desired layout for the desktop view. Flexbox provides excellent flexibility in reordering elements and allows you to create responsive designs without changing the HTML structure.

Remember to preview and test your changes across different breakpoints and devices to ensure that the grid items are displaying as intended.

Example:

Let's say you have a three-column grid layout on desktop but want to display the middle column first on mobile. Here's how you would achieve this:

  1. Select the grid item representing the middle column.
  2. Set the display property to "Flex".
  3. Set the "Order" property of that grid item to a lower value, like -1.
  4. By default, the other two grid items will have an "Order" value of 0, which means they will appear after the middle column.
  5. Preview the changes and ensure that the grid items' order is as desired across different breakpoints.

By manipulating the "Order" property of flexbox, you have the ability to adjust the grid order in Webflow without affecting the desktop view.

Additional questions:

  1. How do I change the order of grid items in Webflow?
  2. Can I reorder elements in Webflow without changing the HTML structure?
  3. What is the flexbox order property in Webflow and how does it work?