Streaming live at 10am (PST)

Alternating CMS rows/columns


#1

Is this possible? w/o building separate datalists for each?

here is my mockup


Here is my public share link: LINK
(how to access public share link)


Need help getting CMS rows to alternate class
#2

Page built out here but of course just photos on one side.

I invision an option here:


#3

Place this in any custom code box (either page custom code or embed code):

<style>
.w-dyn-item:nth-child(even) .w-row {
    flex-direction: row-reverse;
}
</style>

#4

awesome lets give this a try!


#5

I swear it was just working but now it isn't. Do I add this style "w-dyn-item" to my dynamic list?

Any ideas?

Here is my read only link:

https://preview.webflow.com/preview/delmo-sports?preview=ad3c7e94fcde386d530ce5c50660f3c5


#6

Well, you removed the w-row (or changed a setting that removed it), so simply remove .w-row from the style selector as well.

<style>
.w-dyn-item:nth-child(even) {
    flex-direction: row-reverse;
}
</style>

#7

is this the correct place to add those two styles then?

w-dyn-item and w-row


#8

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