Forum

Notifications
Clear all

[Closed] How to change the link color within a page/post?  

   RSS

0

Hi,

The link currently has the same colour as the text, which makes it very difficult to tell there is a link.

I have tried the following CSS:

a {
color: #2c87f0;
}
a:visited {
color: #636;
}
a:hover, a:active, a:focus {
color:#c33;
}

But it changed the colour of the heading/site name etc., which I don't want. Is there any way to change the link colour within the body of the post/page only?

Thanks,

Ngan

Topic Tags
2 Answers
0

Hello Ngan,

Currently there is no option to set color of links on post and page single. But we'll be adding the option on new update of the theme. 

For now please use the below CSS code:

.single-news-content .news-content a {

color: #2c87f0;
}

.single-news-content .news-content a:visited {

color: #636;
}

.single-news-content .news-content a:hover,
.single-news-content .news-content a:focus,
.single-news-content .news-content a:active {

color: #c33;
}

 

Best regards.

0

Amazing thanks. The CSS code works very well. 

Browse our handcrafted free & pro themes.

Get things done easily with our custom crafted services.

Fall in love with our friendly support team.