• Resolved Bahamut5098

    (@bahamut5098)


    I have another issue.

    The links static background color is the way I want, but I can’t get the hover color to be the way I want. I’ve tried different ways and the following does not work:

    a:hover {

    background-color: blue;

    }

    My website is http://www.prestonorrick.com. Any thoughts?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi Bahamut5098,

    Try this:

    #header-menu ul.menu li:hover > a {
      background-color: blue;
    }

    It takes into account that the links are placed within your menu.

    txpost

    Thread Starter Bahamut5098

    (@bahamut5098)

    Thanks, that worked! My last question is how do I change the color of the dropdown link under my ‘Books’ link in the menu? It still shows up dark gray.

    Thread Starter Bahamut5098

    (@bahamut5098)

    ^ Nevermind, I figured it out. Thanks!!

    I added the following:

    #header-menu ul.menu ul a {
    background-color: red;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hover Links’ is closed to new replies.