Streaming live at 10am (PST)

CMS Layout alternate question

Hey everyone,
I’m trying to achieve something like that (Example) in my blog using CMS.
What I mean is the layout of the posts (The first post text is on the left and image on the right, The second post is the reverse and so on…).
Any idea of how to achieve this using Webflow’s CMS? (How to alternate the CMS layout that It will continue to do that automatically).

Thank you :slight_smile:

Your example site is using the :nth-child() CSS pseudo-class with an odd keyword value and adding a float display property to that element. It is just a small amount of custom CSS.

If you inspect the code with a browser developer tools, you can see exactly how this is done.

Hey,
Yeah, I managed to do that it with the help of nth-child(). Pretty simple :smiley:
Thank you for the reply.