I have a wordpress page, and I would like to add a bottom border to the post, according to the post category. If post has only 1 category, then I use:
.category-daily {
border-bottom: red solid 3px;
}
But there are posts who have 2 categories, and therefore 2 classes, for example: category-weekly and category-daily What can I do to add a red bottom border for daily category and after that add a yellow bottom border for weekly category