| |

How to Change the Link Color in WordPress

There are two differences in way you can add. One’s entire website change links colors or only pages and posts.

Method 1: Change Link Color in entire WordPress site.

/* 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.

/* Only posts and pages */
.entry-content a {
     color: #FFA500;
}
.entry-content a:hover {
     color: #FF0000;
     text-decoration: underline;
}
.entry-content a:visited {
     color: #0000FF;
}

Related post: Hide WooCommerce Product Categories on Shop Page or other Page

Well, I hope this article must have helped you. If you have any problem regarding this post just drop your comment here or you can also say “Thanks” simply.

Similar Posts

Leave a Reply

Your email address will not be published. Required fields are marked *