Hi!
I am looking for having posts in a post grid on my page behave differently by having a category based css selector assigned. Ie. if a post belongs to the "sports" category, then I wish that post thumbnail have a "category-sports" css selector.
I see that this has been presented and solved many times before, I just can't make any of that work. I have tried Lorelle's solution and related plugin. This does not help me with assigning category css to post grid om my main static page as I am looking for.
The remaining posts on this forum are either outdated or I do not know what to do with them. I understand that the hack I need has a function.php component, a php content component and a css component.
Can someone help me with a comprehensible solution?
I am new to wordpress and apologize for disregarding conventions here, I aspire to become a resource for the wordpress community once I get a grasp on things.
Thanks in advance!