badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Change link colors in posts.

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #3757
    Petrichorpost.com
    Participant

    Could you please help me change the link colors in the posts (not the entire site, just for posts and pages). I would like to know how to change the color and hover color. The effected website is http://www.petrichorpost.com.

    #3764
    Petrichorpost.com
    Participant

    I figured out how to change the link colors in a post. My only remaining issue is how do I change the link colors when a list (ul, ol) is used in a post. At the moment, all the link colors in lists is the same as the text.

    To change the links in posts colors, I used the following custom CSS:

    .post a {color:#05A9C5;}
    .post a:visited {color:#05A9C5;}
    .post a:hover {text-decoration:underline;} 

    If you have a better method, please share.

    #3817
    sovit ranjitkar
    Keymaster

    @Petrichorpost.com To change the link colors when a list (ul, ol) is used in a post paste below Custom CSS code with your own color code:

    #content post ul a, 
    #content post ol a {
        color: #777777;
    }
    #content post ul a:hover,
    #content post ol a:hover {
        color: #05A9C5;
    }

    Thank you for using our theme.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.