Archived topic
Color of links that are not blog content
6 replies · Started by Sam on July 16, 2021
Hello,
I've made the color of the links in my blog posts and page pages blue, however, when I use WP show Posts, it also makes the text blue because it's technically a link I guess. Is there a way to have the show posts titles be black instead of blue?
Thank you,
sam
Hi there,
in the free version of WP Show Posts you would use some CSS:
.wp-show-posts-single .wp-show-posts-entry-title a {
color: #f00;
}
Thanks David, could I also do this with the latest post widget too? In a lot of my pages I am already using that widget and it also shows blue.
Thank you for all your help!
Hi David,
Also, can I make the WPShow post title centered and possibly change the font size smaller?
Thank you!
Sam
Try this instead:
.wp-show-posts-single .wp-show-posts-entry-title a {
color: #f00;
font-size: 20px;
text-align: center;
}
Hi David,
This worked, minus centering the text. Is there any other code I could use? If not, its not too big of a deal I guess
Try this instead:
.wp-show-posts-single .wp-show-posts-entry-title {
text-align: center;
}
.wp-show-posts-single .wp-show-posts-entry-title a {
color: #f00;
font-size: 20px;
}