Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    In order for the highlighting to work correctly, just put the full URL (or just the hash) in your links.
    For example, change “Juist toepassen” URL from:
    /#section-213
    to:
    https://www.mongodb-development.nl/#section-213

    Alternately, you could simply remove the slash before the hash (e.g. #section-213) and it would also work but having the full URL will allow your menu links to work from/to other pages as well.

    Thread Starter hanheg

    (@hanheg)

    Dear Malihu,
    Thanks a lot. I overlooked something really simple indeed. ??
    It’s working fine now. Thanks for taking the time to answer my question!

    Plugin Author malihu

    (@malihu)

    No problem ??

    @hanheg How did you make it possible for not all your menu items to all highlight using page scroll to id? You did created a one pager based upon what I saw on your website right?

    I am working on a site and I am linking two anchors to the homepage and it is highlighting all three menu items and I can’t figure out how to turn that off and only highlight what is choosen by user.

    Bedankt voor je help.

    Thread Starter hanheg

    (@hanheg)

    Not sure, this could be a number of things. Maybe you have to set a specific class for the menu items to be highlighted. Or maybe you have to use the option in the settings to only highlight one item at a time.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘highlight class is not added by the script while scrolling’ is closed to new replies.