[Support request] Navigation menu items stay with hover color after being clicked

Home Forums Support Navigation menu items stay with hover color after being clicked

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #1146474
    Andres

    Hi!

    I’m setting up a website with GP, and the one thing I can’t get to solve is that the menu items, for which I have anchor links, stay with their hover colors after I click on them, and it doesn’t stop until I click somewhere else in the website. How can I solve this? thanks.

    #1147202
    David
    Staff
    Customer Support

    Hi there,

    best way to do that is using this plugin:

    https://en-gb.wordpress.org/plugins/page-scroll-to-id/

    They even provide a guide for setting up with Elementor

    #1154018
    Andres

    Hi David!

    Thank you for your answer. Unfortunately, an extra plugin doesn’t sound like the right way just to correct the highlight bug. The anchor links and the animation is fine, I just don’t understand why the link keeps highlighted, it just makes no sense. Don’t you think another solution might me more reasonable? Thank you.

    #1154326
    David
    Staff
    Customer Support

    What seems like a very simple feature is actually rather complicated, which is why that plugin has over 100,000 downloads.

    It also highlights the menu items based on user scroll – so it doesn’t just display the last link that was clicked.

    #1155084
    Andres

    Ok, I’ll try it. Guess I’m just obsessed on keeping the website like, that’s why I went for GP theme, but I’ll install de plugin and see if that works. Thanks!

    #1155102
    Andres

    Hi David!

    Ok, I tried it, and it didn’t work. The last menu element clicked remain highlighted, even if I keep scrolling, until I click somewhere else on the screen. Any other ideas on how to solve this?

    Thank you.

    #1155136
    Andres

    I mean, the plugin effectively highlights the section of the menu that is in view, but the last element clicked remains highlighted as well, unless I click again somewhere else. You can check it at the website. Thanks.

    #1155174
    David
    Staff
    Customer Support

    Did you resolve the issue ? As its only keeping the clicked item highlighted on my browsers

    #1155732
    Andres

    Hi David!

    But does it remain highlighted when you scroll? ‘Cause that’s the problem of always, and keeps happening to me. i.e. I press on “Garantia”, and it highlights and scrolls to the section, but then “garantia” keeps forever highlighted even if I scroll somewhere else, until I actually click somewhere else in the website.

    #1155743
    Andres

    Oh, and in mobile it’s worse, all the elements of the menu you click remain highlighted forever.

    #1155822
    David
    Staff
    Customer Support
    #1156212
    Andres

    Yes, that’s how I managed to make the scroll highlight work, but I’ll go through it again and come back to you to see if I could solve it. Thanks!

    #1156344
    David
    Staff
    Customer Support

    Let us know how you get on – sorry we don’t have a simpler solution.

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