Changing Link Colors

  • Unknown's avatar

    Hi there! I’d love the links on my page to be that blue color that links usually are! Can someone help me with that code? And someone help me to tell me where that goes must be placed. Thank you so much!

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi there!

    Try adding this line of code in your CSS editor (found via Appearance > Customize > CSS):

    a:link {
    color:#0000EE;
    }

    That should make your links the default blue color you’re looking for. You can make them any color you’d like by changing the hexadecimal code following the “color:” property.

    For example, solid black would be “#000000”. For more color options check out this online color picker.

  • Unknown's avatar

    My apologies, I just realized a mistake I made. If you only want to change the color of the links in the posts you make, try this instead.

    .entry-content a {
    	color:#0000EE;
    }

    Hope that helps!

  • Unknown's avatar

    I’m trying to do the same thing, without success. I have WP Premium, using Bold News theme (www.potatohack.com). Sorry, such a newb here.

    My links show up as regular text, despite the following in my CSS:

    /*
    Welcome to Custom CSS!

    To learn how this works, see http://wp.me/PEmnE-Bt
    */

    a {
    color: #161616;
    }

    .entry-content a {
    color:#0000EE;
    }

  • Unknown's avatar

    Nevermind, I figured it out. Apparently CSS is specific to the themes, so what CSS lines work in one won;t work in another. I use Bold News, this is the code I used to change link colors:

    a:link {
    color: #119FCF;
    }

    /* unvisited link */
    a:visited {
    color: #119FCF;
    }

    /* visited link */
    a:hover {
    color: #CF1130;
    }

    /* mouse over link */
    .entry p, .entry dd {
    color: #000;
    }

  • Unknown's avatar
    mascarainthecity · Member ·

    You are all AMAZING just changed it thank you so much!!1

    Felicia XO

  • The topic ‘Changing Link Colors’ is closed to new replies.