WordPress.org

Ready to get started?Download WordPress

Forums

Catch Everest
[resolved] Hover Links (4 posts)

  1. Bahamut5098
    Member
    Posted 8 months ago #

    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?

  2. txpost
    Member
    Posted 8 months ago #

    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

  3. Bahamut5098
    Member
    Posted 8 months ago #

    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.

  4. Bahamut5098
    Member
    Posted 8 months ago #

    ^ Nevermind, I figured it out. Thanks!!

    I added the following:

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

Reply

You must log in to post.

About this Theme

About this Topic