[Resolved] Sticky navigation hover effect does not work one home page

Home Forums Support [Resolved] Sticky navigation hover effect does not work one home page

Home Forums Support Sticky navigation hover effect does not work one home page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2019497
    Klaus

    Dear support,

    I set an hover effect on my top navigation bar (color should switch from white to red). That so far this works. But if I scroll down the page and the sticky header appears the effect is not working anymore.

    But this only is on the home page, if I try the same behaviour on a e.g. blog post page the hover effect works on the sticky navigation as it should.

    I just changed the colours in the customising editor and on the header for global and home.
    The problem occurs since I changed the site to a one pager with smooth scroll to the anchors. Therefore I changed the menu to customised urls.

    Any ideas where I have missed something?

    #2019586
    David
    Staff
    Customer Support

    Hi there,

    can i see the site ?

    #2020087
    Klaus

    Sadly I can not show it on the domain, due to legal restrictions I can not go online now with the site.
    Are there any other options to give you insights?

    #2020188
    David
    Staff
    Customer Support

    If the site is behind a maintenance mode then you could simply provide us the URL and a temporary login.
    You can share the details in the Private Information field, its content only the GP Admin can see.

    #2024027
    Klaus

    Hi David,

    I created an temporary login for you. I hope you can find something.

    #2024598
    Leo
    Staff
    Customer Support

    I believe this is the CSS you are after:

    .main-navigation .main-nav ul li[class*="current-menu-"] > a:hover {
        color: #333;
    }

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

    Let me know if this helps πŸ™‚

    #2026084
    Klaus

    Hi Leo,
    thank you very much – it worked perfectly πŸ™‚

    #2026616
    Leo
    Staff
    Customer Support
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.