Archived topic
Link color in comments
3 replies · Started by Mike on April 2, 2019
Hi
Can you tell me how to change the link color in the comment section.
If I change the color in colors > content the titles on archives pages changes and I do not want that.
What I would like to do is to change nothing but the text links I leave in the comments section.
Seemingly I will never be able to find what I want with the browser inspect function?
Hi there,
something like this:
#comments .comment-content a {
color: red;
}
Yes. and thank you
Mike Mahaffey
You're welcome.
Just to note the default color for the comment links is:
.comment-content a
This is what you see in the inspector. You can use just this but you would need to make your color property more specific with importance ie. color: red !important;
To get away from using the !important i just added the ID of the Comments Container e.g #comments. This makes the rule far more specific than theme style.