Hi! I need to make posts in a grid of posts display different colors based on post category.
The intent is to have premium listings and standard listings for various products and services, and they need to display different colors so they are easy to spot.
What are some smart and elegant ways to implement that?
It is important to note that the spectrum of categories may expand so the solution should allow for such adjustments.
Ideally, the solution would enable me to make changes to all aspects of the posts as displayed in post grids or similar layouts.