Change the colour of the text that has link

Posted in: Newspaper
Post count: 76

Hi

How can I change the colour of the text that has link in it?

“Software Expand” text is not obvious on http://sansan.qriosity.com.sg/2015/12/30/announcing-a-specification-for-php/

Whats the CCS code for this?

Thanks!

Post count: 23312

Hello joyceloh,

Please try the code below and add it int Theme panel->Custom CSS area.

.td-post-content a:hover {
color: red;
}

The result -> http://screencast.com/t/llcB6p29Z

If is not what you mean, please provide more details so I will be able to provide a more accurate response.

Thank you for the message!

Post count: 76

Hi,

I need to change the colour of the text before users hover over it.

Kindly advise asap.

Thanks

Post count: 76

I solved it, thanks!

Post count: 76

Sorry, I still need your help.. please help to provide the ccs code as I only want to change the colour of the text with link in the post before the users hover.

thanks!

Post count: 23312

Hello joyceloh,

You have to use the same code that I gave you above but without hover.

The code is ->

.td-post-content a {
color: red;
}

The result you should see here -> http://screencast.com/t/8r1bgWEz3X

Thanks.

Post count: 76

thanks for this!

Post count: 26

i do have the same issue.

i copied your code and saved the changes in the theme editor, but all links are still black (i’d like to have them in blue)

Post count: 51

Well it works for me too. Just go to Theme Panel > Custom Code > Custom CSS, and the code mentioned above.

Post count: 51

@Catalin BTW what list of colors are supported for this code?

Post count: 23312

Hello Dhananjay,

This code supports any type of color. You can add the name of the color, the code of the color (HEX) and RGBA.

Thank you for the message!

Post count: 26

it does work on single posts but not on static homepage

Post count: 23312

Hello tomdouble,

Yes, the code above works only for posts, as you can see in the above code is targeted the class specific only for posts. If you want to apply this code for your homepage, you have to replace the .td-post-content with .home.

The code is ->

.home a {
color: red;
}

Thank you for the message!

Post count: 26

Thanks, Catalin!

Viewing 14 posts - 1 through 14 (of 14 total)
The forum ‘Newspaper’ is closed to new topics and replies.