WordPress.org

Ready to get started?Download WordPress

Forums

Separate link colors for menu and content (8 posts)

  1. djredhawk
    Member
    Posted 9 years ago #

    Is there a way to separate the links / links visited / links hover colors from the menu? I have a dark text block for the main entry and the colors work well. What I'd like to do is change those colors for the menu bar which is a lighter color.

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Yes :)
    You can style
    .menu a
    .menu ul li ul li a
    to whatever you wish.

  3. djredhawk
    Member
    Posted 9 years ago #

    Would I use the same code as is listed in the .css (changing the colors, of course)? I'm a complete newbie at .php programming . . .

  4. djredhawk
    Member
    Posted 9 years ago #

    Cancel that! I figured it out!!
    Thanks, podz! You rock, man!

  5. djredhawk
    Member
    Posted 9 years ago #

    Crap! My bad. It still doesn't seem to work where I need it.
    I have the links that are programmed in using WordPress itself. Messing with the #menu ul ul li a line gives me the control to alter those from the darker content box. However, I also have my Amazon wishlist and my Blogroll lists in separate areas of the menu. This doesn't affect them in the least . . .
    Any suggestions? Should I alter things at the index.php? And, if so, what would it look like?

  6. jumbo
    Member
    Posted 9 years ago #

    Can you post a link to your blog?
    .menu a alone won't alter the default link hover settings. You'll need something such as:
    .menu a {
    color: #F00;
    }
    .menu a:hover {
    color: #C60;
    }

  7. djredhawk
    Member
    Posted 9 years ago #

    Here's the link:
    http://www.djordanredhawk.net/wordpress/index.php
    adding in that particular code does nothing for the blogrolling links.

  8. djredhawk
    Member
    Posted 9 years ago #

    Muchas gracias! That worked! Thanks, jonimueller!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.