WordPress.org

Ready to get started?Download WordPress

Forums

Adjusting link colors? (4 posts)

  1. mikeherman
    Member
    Posted 9 years ago #

    I'd like to change the current link colors and I have been looking at the "StyleSheet" in the Theme Editor, although I can work with a style.css for html pages I'm not able to read this StyleSheet.

    What is the command I need to change?

    Thanks for your help,

    Mike

  2. moshu
    Member
    Posted 9 years ago #

    This is a style.css for html :)
    But never hurts if you tell which theme? where is your WP install (=link)? Which links do you want to modify? etc.

  3. mikeherman
    Member
    Posted 9 years ago #

    Thanks moshu,
    The domain is http://www.CreditAndCreditReports.com and the links I'd like to change are those in the sidebar, which is currently black and just underlines when hovering and the links within the posts which are dark green and when you hover are light green.

    The problem for me is that I can't tell which of the commands within the style.css controls what.

  4. moshu
    Member
    Posted 9 years ago #

    It seems you are using a slightly modified Classic theme.
    In the wp-content/theme/classic/style.css ate the very beginning there is:
    a {
    color: #675;
    }

    a:visited {
    color: #342;
    }

    Changing those colors will change the links in the posts + title + read more + comments link etc.

    For the sidebar check the source code to see how the links are displayed - and based on that you'll realize you need to change these lines in the CSS (around line 245)
    #menu ul ul li a {
    color: #000;
    text-decoration: none;
    }

    #menu ul ul li a:hover {
    border-bottom: 1px solid #809080;
    }

    a:hover {
    color: #9a8;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.