Previous & Next Links

  • chrisp

    #5113

    I have added the following to the child theme CSS file:

    .previous, .previous a, .previous a:visited, .next-post, .next-post a, .next-post a:visited, .parent-return, {

    color: #91000A;

    font: 12px tahoma;

    text-decoration: none !important;

    }

    I would like to know what I need to add to this code to have a different color on hover?

    Josh

    #30702

    Don’t ADD anything to that code… or else you will get the same color on hover. Then how will you know if it’s working or not?? 🙂

    Instead, add a new declaration dealing with hover… like this:

    .previous a:hover, .next-post a:hover {
    color: #FF0000 !important; // This is red... change it to your liking
    }

    chrisp

    #30703

    Thank you Josh!

    I was so happy that I was able to get the first part done. I don’t know anything really about CSS.

    Quote:
    Then how will you know if it’s working or not?? 🙂

    LOL…so I would not have been able to know…thanks again!

    Josh

    #30704

    My pleasure. I do appreciate someone who shows initiative before posting on the forum!!

    Marking thread as resolved. You can do this yourself as well.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.