How do you style the link colour in a nested class (WP)

Discussion in 'CSS' started by brightbyte, Nov 27, 2009.

  1. #1
    Hi

    In my wordpress blog I'm trying to style the post titles link one colour and the author's name link (which also appears in the title) another.
    The website is http://www.hermestechnologies.ie.

    The link class for the title is "post_title". This I wish to change colour. If I change the font size this works fine. But I cannot change the link colour.

    Any advice is greatly appreciated.

    Some options I tried to no avail:

    .post_title {color: #333333}
    a.post_title {color: #333333}
    a.post_title:visited {color: #333333}
    a.post_title:link {color: #333333}
    .post_title a:link {color: #333333}
    .post_title a:visited{color: #333333}
    .post_title {color: #333333}
     
    brightbyte, Nov 27, 2009 IP
  2. kodut

    kodut Well-Known Member

    Messages:
    2,738
    Likes Received:
    76
    Best Answers:
    1
    Trophy Points:
    170
    #2
    i tried this ..
    i used post_title and used author wp tag separately and enclosed them with different div class ..
    and rest CSS did
     
    kodut, Nov 28, 2009 IP