Site logo

[Resolved] Page scroll to id to highlight current element on sticky nav

Home Forums Support [Resolved] Page scroll to id to highlight current element on sticky nav

Home Forums Support Page scroll to id to highlight current element on sticky nav

Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #252970
    Jamal

    That gave same result as fullscreen-enabled, so i will have to put aside the full page design for now. Thanks Tom !

    #253222
    Tom
    Lead Developer
    Lead Developer

    No problem – full height sections is an interesting idea, I’ll see if I can come up with a core solution 🙂

    #275353
    David

    Thanks for the snippet Tom. Exactly what I was looking for.

    Cheers!

    #275366
    Tom
    Lead Developer
    Lead Developer

    No problem! 🙂

    #896508
    Inga

    Hi there,

    same problem in 2019. I tried it with the JS snippet but it doesn’t work: when I click on a link in the main menu, it is still not highlighted in the sticky menu.
    I don’t know JavaScript very well, I changed the css-selector to my menu-id but maybe I have to modify something else? Please help.

    Thanks!

    #896628
    Tom
    Lead Developer
    Lead Developer

    Perhaps a plugin like this is worth trying?: https://wordpress.org/plugins/page-scroll-to-id/

    #899190
    Inga

    Hi Tom, I am already using this plugin. I tried to do everything as described in Lyles Tutorial, but it seems to be outdated. Any suggestions?

    Ok sorry, it was simple CSS specificity… problem solved. Thanks anyway.

Viewing 7 posts - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.