Change hover color on menu drop-downs

  • Author
    Posts
  • #11516

    Hi,
    I’ve changed the hover color and text-decoration on most of my active links, but can’t seem to fix the drop-down items (pages) on the main menu. Help please?

    Thanks,
    M
    (I have CSS upgrade)

    The blog I need help with is: (visible only to logged in users)

    #11625

    Hey M,

    You can target this links with:

    #main-nav a {
        text-decoration: underline;
    }

    for example.

    Thanks!

    Scott

    #11628
    melindaboumans
    Member
    Original poster

    Thanks, Scott. I’m trying to change the hover color in #main-nav a. What’s the CSS for the hover?
    Thanks,
    M

    #11629

    No problem! :D

    Try this,

    #main-nav a:hover  {
        color: #000000; /* Desired Color Here */
    }
    #11631
    melindaboumans
    Member
    Original poster

    Alas no, hover is still black. Try again? :)

    #11632

    Try throwing an !important in there.

    #main-nav a:hover  {
        color: #000000 !important;
    }

    Thanks again!

    Scott

    #11633
    melindaboumans
    Member
    Original poster

    Hooray!!!

  • The topic ‘Change hover color on menu drop-downs’ is closed to new replies.