WordPress.org

Ready to get started?Download WordPress

Forums

Post Title and Hyperlink Colors--changing? (5 posts)

  1. Tranicos
    Member
    Posted 6 years ago #

    Hello!

    I'm using a modified DiaryNotes theme (www.strangejourneys.com) and am trying to change my hyperlink colors to a more legible color. However, when I change them (by changing the color tag in the

    a {
    color: #a5965d;
    /*color: blue;*/
    text-decoration: none;
    }

    , my post title color also changes.

    How can I change just the body hyperlinks but not the post titles?

    I'm gradually learning CSS, but am still new at it.

    Any help appreciated!

  2. moshu
    Member
    Posted 6 years ago #

    This should be a good startin place:
    http://codex.wordpress.org/Finding_Your_CSS_Styles

  3. Tranicos
    Member
    Posted 6 years ago #

    Hi,

    Ok, I found that my post titles are <h1> and of course the normal hyperlinks I'm trying to change are just part of <p> entries.

    How can I change just the hyperlinks that show up in <p> blocks but not the <h1> hyperlinks (post titles)?

    When I change the color tag for the "a" selector, it changes both.

    Thanks,

    --Tranicos

  4. moshu
    Member
    Posted 6 years ago #

    If there isn't... you should add something for
    h1 a {...etc;}
    in the stylesheet

    e.g.

    #content h1 a {
    color: #ff0;}
  5. Tranicos
    Member
    Posted 6 years ago #

    Moshu--thanks for the help! Beginning to understand it now.

    --Tranicos

Topic Closed

This topic has been closed to new replies.

About this Topic