How to use odd/even child in accordion

Hello! How can I style odd or even childs in accordion?

Need to make my grid change one by one(even/odd). So It can look good.

Tried do add instance to the grid but not working
image

I can add instance do the accordion loop but this is not what I wanted to achieve.(change position of top-bottom)

Watched all the instance tutorial but cant figure out hot to style inside looped element?

URL wytwornia-zieleni.pl

From my understanding, styling elements inside looped elements is still very limited. Are you able to assign a class to the grid and target that through an instance on the main looped element?

Hey, here’s the setup:

If you don’t want to style all the divs, you can add a class to the specific child element you want to target. Then, in the Subject field, select that class.

If some styles don’t apply, try right-clicking and selecting Set as Important.

1 Like

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