Alternate rows on query loop

I need to alternate the image and content in every other row. I have tried other solutions and nothing is working for me. I know I have to use nth-child but I cannot get it to work with the query loop.

1 Like