How to change link color within posts only in Twenty Ten?

  • Author
    Posts
  • #1237321

    skyblueguy
    Member

    I added the following css code, but it does not work as expected:

    .entry a {
    color: #0000FF!important;
    text-decoration: none;
    }

    Can I change link color within posts only in the Twenty Ten theme?

    Thanks for your help.

    The blog I need help with is truthofwmscogandchristahnsahnghong.wordpress.com.

    #1237406

    skyblueguy
    Member

    I decided to set link color manually.
    Thanks.

    #1237428

    You were almost there, just one letter off in the selector. :)

    .hentry a {
    color: #0000FF!important;
    text-decoration: none;
    }
    #1237429

    And !important will probably not be needed on the color declaration.

The topic ‘How to change link color within posts only in Twenty Ten?’ is closed to new replies.