[Support request] primary navigation hover

Home Forums Support [Support request] primary navigation hover

Home Forums Support primary navigation hover

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1421584
    Kim

    hi, can´t find any place to enable hover underline for Primary Navigation?
    Navigation Color Presets work ok, but would not like to change any color only show underline for current & hover
    regards, Kim

    #1421626
    David
    Staff
    Customer Support

    Hi there,

    that would require some CSS like this:

    .main-navigation .main-nav ul li a {
        border-bottom: 6px solid;
        border-color: transparent;
    }
    .main-navigation .main-nav ul li:hover a,
    .main-navigation .main-nav ul li[class*="current-menu-"] > a{
        border-color: #000;
    }

    Or if you want something fancy – the this article provides that:

    https://docs.generatepress.com/article/adding-menu-hover-animation/

    #1422124
    Kim

    exactly, thanks a lot!
    -Kim

    #1422296
    David
    Staff
    Customer Support

    Glad to be of help

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.