WordPress.org

Support

Support » Themes and Templates » Separate link colors for menu and content

Separate link colors for menu and content

  • djredhawk
    Member

    @djredhawk

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Mark (podz)
    Support Maven

    @podz

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

    djredhawk
    Member

    @djredhawk

    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 . . .

    djredhawk
    Member

    @djredhawk

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

    djredhawk
    Member

    @djredhawk

    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?

    jumbo
    Member

    @jumbo

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

    djredhawk
    Member

    @djredhawk

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

    Muchas gracias! That worked! Thanks, jonimueller!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Separate link colors for menu and content’ is closed to new replies.