WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Twelve
[resolved] Change Link Color in Twenty Twelve (9 posts)

  1. allnightorg
    Member
    Posted 1 year ago #

    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!

  2. Stacey@crazydoglife
    Member
    Posted 1 year ago #

    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;
    }

  3. allnightorg
    Member
    Posted 1 year ago #

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

  4. madameganache
    Member
    Posted 1 year ago #

    So simple, so beautiful. Thanks!

  5. amazingsusan
    Member
    Posted 1 year ago #

    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?

  6. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    @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

  7. amazingsusan
    Member
    Posted 1 year ago #

    yes thanks :)

  8. Miiiii
    Member
    Posted 8 months ago #

    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

  9. zephyri
    Member
    Posted 7 months ago #

    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;
    }

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic