Archived topic
Different coloured links: author and publishing date
3 replies · Started by Scott on July 24, 2022
Viewing posts 1–4 of 4
I’m using the Read template from the site library.
I did your tip and it worked for the post title on the homepage:
.wp-show-posts .wp-show-posts-entry-title a {
color: #f00;
}
.wp-show-posts .wp-show-posts-entry-title a:hover {
color: #0f0;
}
I’d also like to ensure the author’s name and publishing date are the same colour as the wp-show-posts-entry-title. I tried to play with the CSS using .author-name and .wp-show-posts-entry-date but have had no luck. Any tips? Thanks!
Hi Scott,
You can try this CSS:
.wp-show-posts .wp-show-posts-entry-meta span a {
color: #f00;
}
.wp-show-posts .wp-show-posts-entry-meta span a:hover {
color: #0f0;
}
Hope this helps!
Perfect! Thanks @fernando
You’re welcome Scott!
This archived topic is closed to new replies.