Dynamic Grid Item Offset

Afternoon all, im not sure if I am being silly, but does anyone know how to add a css attribute such as top-padding to every second dynamic item?

I have a grid where I have added a top padding of 20px on every odd item, but I cannot recreated this with dynamic collections.

Im trying to get the same offset result on dynamic grids and Im sure I’m missing something obvious

Following further experiments and reviews of other webflow sites, based on the information that I am dealing with in my feeds I solve this by doing the following:

  1. Add div block to top of collection item.
  2. Add switch in CMS item for “Offset”.
  3. Add condition appearance to the div for feed.
  4. In CMS item, switch ON for each item in the column where I want the offset.

This will require the switches to be changed on each post, so it’s not full proof, but works. Conditional code based on the the number of post would be ideal ie. if postNumber IS odd, display offset.

1 Like

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.