Black Friday Sale! Get $20 off GP Premium, $40 off our new Lifetime license, and 45% off license renewals/extensions! Learn more

Background Current Color Not Working on Child Pages

Home Forums Support Background Current Color Not Working on Child Pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #181963
    Alisha

    Hi Tom,

    I helpied a client build a site using GeneratePress and the Add Ons. The site is http://taastrategies.com.

    When someone clicks on a Parent page, the Background Current Color works fine but if they move to a Child page, the main menu color shifts back to green, which is the regular inactive color of the menu items.

    For example, if you are on http://taastrategies.com/quickstart/, the TAA Quickstart menu item is grey. If you move to http://taastrategies.com/quickstart/strategies/, the menu item goes back to green.

    I have confirmed that it works in similar circumstances on other sites, so perhaps there is something on his site that is causing the problem.

    Any ideas or suggestions would be appreciated.

    Thank you!

    #181988
    Tom
    Lead Developer
    Lead Developer

    The relationship between that page and the menu item isn’t specific enough it seems.

    You can add your own CSS for this though:

    .main-navigation .main-nav ul .current_page_ancestor > a {
        color: #FFFFFF;
        background-color: #3f3f3f;
    }

    Let me know if that helps or not 🙂

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