[Support request] Disable active text only for Home

Home Forums Support [Support request] Disable active text only for Home

Home Forums Support Disable active text only for Home

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #395646
    Rafael

    Hello guys, how are you doing?

    I would like to know if there is any way to disable the Active Text color (active page) only for Home. I ask it because my homepage is divided by sections and I’m using anchors to target it, so the menu stay with 4 items with the color of active page because they are all poiting to HomepageURL / # anchor.

    Any suggestion?

    #395891
    Leo
    Staff
    Customer Support

    Hi there,

    You would have to go with CSS solution like this:

    .home .main-navigation .main-nav ul li[class*="current-menu-"] > a {
        color: #ffffff;
        background-color: #000000;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

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