change color of next and previous post titles at bottom

Posted in: Newspaper
Post count: 58

Hi,

At the bottom of each post there is two links that points to the previous and next post. I want to change the color of these links so that they become more prominent. I was able to figure out that the css class name of that entity is .td-post-next-prev-content, but if i change the color attribute of this class, the color does not change.

can you please help me with this.

Post count: 20685

Hi,

As that is a link you need to target it, not just the class, like this:

.td-post-next-prev-content a {
color: blue;
}

Change the color to you own desire.

Thanks

Post count: 58

Hi,

Thank you for the reply. But once i changed this color, now the hover color does not change at all. The color remains the same even when i hover the mouse on it.

Post count: 20685

Hi,

The code above changes the links default color. If you wanted to change only the hover color and keep the default link color, delete the code you entered and add this one

.td-post-next-prev-content a:hover {
color: blue;
}

If you want to keep the modified color and change the hover, add the code without deleting the previous one – http://prntscr.com/dl94he

Thanks

  • This reply was modified 9 years by Simion C..
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.