I’m building a site with a flavor list. The client wants the flavors made with beer to be red, wine to be blue, and so on. The problem is, their product list is fairly long and I can’t figure out how to set up my collection list so that the Option dropdown also affects BG color without needing to manually set a color for each product. I’d like to set it up so that when the client selects “Beer” in the CMS dropdown, the div block turns red. Is this possible? Thanks in advance!
If you click on the ‘category tags’ on each tile and then the settings - you can see it pulls in from a BG colour in the CMS. Take a look at the CMS and you will see Photography for example has a purple ‘colour’ field.
Any posts that are photography based, have a reference field to the ‘photography’ category.
Hope that helps - pretty good for a friday evening with tired eyes
No problem - while i’m here i’ll also mention another tip - if the client wanted to have control of the order that the items appear - beyond the ‘sort order’ options, you can also add a ‘number’ field and sort by those rather than most recent etc…