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

    Hi Enfold team,
    on our website, I have an issue with the wrong main menu item being hightlighted wenn scrolling down. It works like a charm on all other pages of the website, just not on this one. It keeps jumping back and forth between the first and second menu item.
    What am I missing? :-/

    #1069820

    Hey fkmediaworks,

    Thank you for using Enfold.

    That is quite odd. I’m not really sure what’s causing the active menu indicator to switch like that. Did you add any anchors in the page?

    Best regards,
    Ismael

    #1069847

    HI Ismael,
    yes, sorry, forgot to mention that I’ve used anchors – but also on the other pages of the website where the error doesn’t occur. Hence I’m in a bit of a loss here…

    #1070202

    Hi,

    Where did you add the anchors? Are they related to the sub menu items? Please post the login details in the private field so that we can check the page.

    Best regards,
    Ismael

    #1070289

    Hi Ismael,
    Added anchors in separate Code Blocks, and yes, sub menu items are using them.
    Thanks!

    #1071145

    Hi,

    You should apply unique names to those anchors because they are being treated as the same. For example, the “#leistungen” anchor should be replaced with “#leistungen-catering” or whatever name you prefer as long as it differs from the other anchor.

    Best regards,
    Ismael

    #1071183

    HI Ismael,

    thanks so much – this completely solved the issue. Wasn’t aware that same-name anchors on other pages affected the behavior (and sorry if I overlooked this info somewhere else in this forum).

    Case closed :)

    #1072061

    Hi,

    You’re welcome. Glad we could help.

    Don’t hesitate to open a new thread if you need anything else. And if you have the time, please take a moment to review our theme and show your support https://themeforest.net/downloads

    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold. :)

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Wrong menu item highlighted’ is closed to new replies.