Add CSS class based on CMS conditional value

Would be great if we could add CSS classes to a dynamic item based upon a conditional value of a Collection Field value

  • Jason Leocata
  • Jan 17 2017
  • Sean Tubridy commented
    15 Apr 07:06pm

    Really could use this to style different classes of items differently. Surprised Finsweet or someone else hasn't come up with a workaround.

  • Hans Gijsbers commented
    29 Mar 08:17pm

    Still missing, why?

  • Timothy Luke commented
    22 Jul, 2020 10:12pm

    This seems so obviously integral, am I missing something?

  • Derrick Threatt commented
    20 Jul, 2019 05:55pm


  • Den Up commented
    16 Jun, 2019 01:03am
    Yes, it is very important
  • Nick Merrigan commented
    28 Mar, 2019 06:17pm

    Yes please!

  • Josh Chamberlain commented
    2 Nov, 2018 11:12pm

    Yes. For example, a CMS-powered list of features, and ones with the "Important" label get a different color background and a drop shadow.

  • Jon So commented
    21 May, 2018 10:09pm

    We need this very badly to use to show/hide content on multi-language sites.

  • Diarmuid Sexton commented
    18 Jan, 2017 11:10am

    This would be great for styling different objects by their category. It would also be great for the mix-it-up plugin - as well as many other plugins i'm sure

  • +66