Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1163657
    Henry
    Participant

    Hi there,

    I’m using a One Page navigation menu on a site. The ‘active’ menu items (with current-menu-item class) work fine on the desktop version, and change colour correctly based on the section of the page. But when it switches to mobile menu, the scrollspy will not highlight the active link that corresponds to the section of the page. It seems like it isn’t registering the current-menu-item class in the mobile view at all. Is this normal behaviour with X? And is there a way to get the scrollspy/one-page active links to work on a mobile menu?

    Using latest versions of everything.

    Many thanks in advance
    Henry

    #1163934
    Prasant Rai
    Moderator

    Hello Henry,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #1164804
    Henry
    Participant

    Hi there,

    Thanks for the quick response. I’m working offline at the moment, are there any general suggestions I can try to enable the one page scrolling on mobile menus without needing to move my WP online?

    If not I’ll have to get back to you when I can get it online.

    Thanks

    #1164846
    Rahul
    Moderator

    Hey There,

    Thanks for writing back!

    Update us when the site is online. We’ll have a closer look and then provide the working solution.

    Thanks for understanding!

  • <script> jQuery(function($){ $("#no-reply-1163657 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>