Streaming live at 10am (PST)

Color field - multi reference field

Hello! I have a question here for tha custom code wizards!

I’m working on a collection page. that collection page has a highlight color that came from the CMS color field. right? ok. But there’s a catch. There are a couple of reference fields on that collection and I also want them to catch the color from the cms color field.

how can I do this? please heeeeeelp

Add live URL (Or read-only link).
Sound like something you could solve easily by JS (But the code & selectors names ==> related to the case).

Or even by simple CSS custom code added to collection page (Add selector and set the color to “feild-color”).

  color: {{color-webflow-cms-feild}}!important;

Dear Ezra,

Thank you for your suggestion. I understand your logic but don’t understand what I need to put instead of “color-webflow-cms-feild”. My custom code section marks it red, ergo invalid. How do I make the system understand that they need to fetch the color hex code I set in that particular entry in the template’s corresponding CMS collection?

Would love your insights on this.