In this article, I’ll show you how to change the link color in WordPress, step by step. There are two differences in way you can add. One’s entire website change links colors or only pages and posts.
Video tutorial
Method 1: Change Link Color in entire WordPress site.
Code:
/* For entire site */
a {
color: #001E6C;
}
a:hover {
color: #DA0037;
text-decoration: underline;
}
a:visited {
color: #DA0037;
}
Method 2: Change Link Color in only pages and posts.
Code:
/* Only posts and pages */
.entry-content a {
color: #FFA500;
}
.entry-content a:hover {
color: #FF0000;
text-decoration: underline;
}
.entry-content a:visited {
color: #0000FF;
}
Thank you for reading! I hope this article was helpful. If you have any questions or suggestions, feel free to share them in the comments.
