Navigation Hover State

Home Forums Porto – Responsive HTML5 Template Navigation Hover State

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10042625
    wardsdesign
    Participant

    I am trying to change the hover state color on my navigation bar.

    Thanks for the tip on how to find a specific css applied to an element. I tried in this case, but was not able to find it.

    They want to change it so that when you hover over the list menu selection, the background turns to black.

    I thought it might be:

    #header .header-nav.header-nav-line nav > ul:not(:hover) li > a.active:before {
    background: #054c73;

    But that is not correct. Can you give me some direction?


    #10042630
    Support
    Keymaster

    Hello, please try this:

    #header .header-nav.header-nav-line nav > ul li:hover > a {
        color: #FFF;
        background: #000 !important;
    }

    Kind Regards.


Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as "RESOLVED" and can not rceive new replies.