• Resolved Singlacards

    (@singlacards)


    Hi Team,

    when i am clicking to any of the submenu’s with page id added getting redirect to wrong page. Can you please check

    For example: You can click on governance submenu. It’s taking me to wrong page

    The page I need help with: [log in to see the link]

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

    (@malihu)

    Hello,

    The plugin itself can’t really cause such issue. What happens when you temporarily deactivate “Page scroll to id” plugin?

    The problem seems to come from this (“header-footer-elementor”) script:
    ...plugins/header-footer-elementor/inc/js/frontend.js

    You can try disabling this “header-footer-elementor” functionality by going to “Page scroll to id” settings and setting the “Prevent other scripts from handling plugin’s links selector(s)” option field value to:

    a[href*='#']:not([href='#'])

    If this doesn’t help, you’d probably need to manually edit frontend.js and change the function selector in line 641. Let me know if you want to do this so I can tell you exactly what code to add/modify.

    Thread Starter Singlacards

    (@singlacards)

    Hi Malihu,

    Thanks for quick response. Please let me know what i need to edit in frontend.js file

    Plugin Author malihu

    (@malihu)

    You’re welcome. Try this:

    Edit frontend.js and change the line 641 from:

    $( '.elementor-element-' + id + ' ul.hfe-nav-menu li a' ).on(

    to:

    $( '.elementor-element-' + id + ' ul.hfe-nav-menu li a:not(".__mPS2id")' ).on(

    Save the file, test your page and let me know.

    Thread Starter Singlacards

    (@singlacards)

    Hi Malihu,

    still getting the same issue. Can you please check

    Plugin Author malihu

    (@malihu)

    OK. Try this test:

    Change line 641 to:

    $( '.elementor-element-' + id + ' ul.hfe-nav-menu-dummy li a:not(".__mPS2id")' ).on(

    Let me know

    Thread Starter Singlacards

    (@singlacards)

    Hi Malihu,

    Thanks it working now.

    Plugin Author malihu

    (@malihu)

    @singlacards I’m marking this as resolved but let me know if you need more help 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Redirecting to Another Page’ is closed to new replies.