Support » Theme: Twenty Twelve » Change Link Color in Twenty Twelve

  • Resolved allnightorg

    (@allnightorg)


    Before anyone says it, yes I have a child theme already set up. 😉

    I’ve tried a few different CSS options and no matter what I do I can’t get the link color in the posts to change. I’m sure it’s something simple I’m overlooking but could someone help me out please? Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • This should do the trick … just change the colors to what you want and add to CSS.

    a:link {
    color:#000000;
    }
    a:visited {
    color:#696969;
    }
    a:hover {
    color:#b5b5b5;
    }

    I knew it was something simple! Thank you so much!

    So simple, so beautiful. Thanks!

    I can’t seem to find a:link etc

    I’ve been to the CSS style sheet using these instructions:

    http://codex.wordpress.org/Finding_Your_CSS_Styles

    I’m not a developer, just a not very techical WP newbie trying to make a small change…. grrr can you help me madameganache?

    Do I have to buy the theme customisation to make CSS changes?

    WPyogi

    (@wpyogi)

    Forum Moderator

    @amazingsusan – is your site by chance on WordPress.COM? (There are no paid upgrades for self-hosted sites.) If so, you need to go here for help:

    http://en.forums.wordpress.com/

    If not, please start a new thread per the forum guidelines – this one is outdated and already marked resolved – you can do so here:

    http://wordpress.org/support/theme/twentytwelve

    yes thanks 🙂

    Hi there,
    Stacy,

    Where in the stylesheet do I find:

    a:link {
    color:#000000;
    }
    a:visited {
    color:#696969;
    }
    a:hover {
    color:#b5b5b5;
    }

    Under which section?

    Best regards

    Hi Miiiii,

    Starting at the WordPress Dashboard go to the Appearance menu and click on Editor and open style.css. In the default style.css for the twentytwelve theme there are several locations where you will see a:visited etc. It all depends on which links you want to change the color of. For posts, try going to where it says “Main content and comment content” and look for

    .entry-content a:visited,
    .comment-content a:visited {
    	color: #9f9f9f;
    }

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Change Link Color in Twenty Twelve’ is closed to new replies.