Streaming live at 10am (PST)

Adding classes to CMS items dynamically

Hi
I have a small multilanguage product website, translated with Weglot.

https://www.stradasalt.com/products/icebreaker

Each product page page has a list of links to product sheets. I’d like to hide the links not relevant to the displayed language, by using CSS:

html[lang=”en”] .hidden-en display: none;

But how do I add the class to the Collection items?

Thanks in advance:-)


Here is my site Read-Only: Webflow - stradasalt