WordPress.org

Ready to get started?Download WordPress

Forums

Establish default link color for Minimalist theme (3 posts)

  1. riker96
    Member
    Posted 2 years ago #

    Thanks for reading.

    The site is http://www.paulriker.com/wordpress

    I would like for all hyperlinks to default to color #FF6600 and also to NOT be underlined.

    This is simple with Dreamweaver, where one can establish this in the "page properties," but, being new to WP, I'm not sure how to tackle this.

    I can not find any reference to link style in the main style sheet, or in white.css, which is where the real meat is (I'm using the white color option and will likely remove the customization element).

    Do I need to add some lines to the style sheet to establish a 'rule' for hyperlinks?

    Any assistance you can offer would be greatly appreciated!

  2. Dawn Ogden
    Member
    Posted 2 years ago #

    Try adding this to the end of the code. It will make all your links blue.

    .post a {
    color: #1574a5;
    text-decoration: none;
    }`

    Adding this will make all visited links green.

    .post a:visited {
      color: #74a415;
      text-decoration: none;
    }

    If you don't like those colors, go to http://www.color-hex.com/ and choose whatever color you like, then replace the colors.

  3. riker96
    Member
    Posted 2 years ago #

    Thanks Dawn,

    Unfortunately, that didn't work. Here is my main style sheet, followed by the css file that it refers to when in "white" mode.

    style.css

    [Code moderated as per the Forum Rules. Please use the pastebin]

    white.css

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Again, for anyone new, I'm just trying to set the default link color to #FF6600 for the whole site (posts, pages, etc)

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic