Streaming live at 10am (PST)

Help in turning off nth-child for 2nd collection list

Hi, I’m using nth-child to alternate a collection list, which working exactly how I want, BUT it also affecting a seperate collection list which I don’t want to alternate.
Any ideas how to switch this off for the 2nd one?
Thanks

https://preview.webflow.com/preview/actai-ventures?utm_medium=preview_link&utm_source=designer&utm_content=actai-ventures&preview=d0c3d1201ae70b0730c57a32b275b2a7&workflow=preview

Life is easier when you target your element selectors instead of the default Webflow ones. That way you can specify which collection list CSS is applies to.

Thanks, I’ve renamed the default Webflow lists but it doesn’t appear to make a difference?

It won’t until you update the selector in your custom code to target a specific class you created.

The selector in the custom code was always different to the class that it’s affecting in the 2nd collection list - which is why I’m struggling to figure it out.