Hi there,
1. you will need to add this PHP Snippet to your site:
add_filter( 'body_class', function( $classes ) {
if ( is_single() ) {
global $post;
foreach( ( get_the_category( $post->ID ) ) as $category ) {
$classes[] = 'category-' . $category->category_nicename;
}
}
return $classes;
} );
This will add the category-term
class to the body
element of the single post.
2. Then you can use this CSS:
.category-deals h1,
.category-deals .wp-show-posts-entry-title a {
color: #f00 !important;
}
That will target the single post H1 and the WPSP Title link.