Streaming live at 10am (PST)

Alternating layouts layouts on cms collection lists


If seen some other posts about this but I haven’t been able to get it to work.

I’m trying to reverse the layout on every other item in a CMS collection list.

I’ve entered

    .w-dyn-item:nth-child(even) .service-detail-row {
          flex-direction: row-reverse; 

into the but it’s coming up as invalid and not showing up. What am I missing? Is there a better way to do this?


Hello @dadmacho

I made a small video for you to explain why this is happening:

Hope this helps.

1 Like

@aaronocampo So the css lives in the Collection List Wrapper and selects my row directly.
Thank you so much!

1 Like