Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1341481
    Amigaroxx
    Participant

    Hi,

    I have a anchored single page and normal page links in my navigation. After fiddling around, I found this solution on the forum: https://community.theme.co/forums/topic/page-links-using-ids/page/2/#post-98964

    This solutions seems to work for the single page items, but after visiting a regular page, the menu stopped working. Nothing happens when you click on the links of the menu. There are full paths to the links, but clicking seem to be disabled.

    I tried the various JS solutions, and with the One Page function in X Settings on/off. No difference.

    This is the error I see in the console:

    Uncaught TypeError: Cannot read property ‘top’ of undefined
    at HTMLAnchorElement.<anonymous> ((index):570)
    at HTMLAnchorElement.dispatch (jquery.js?ver=1.12.4:3)
    at HTMLAnchorElement.r.handle (jquery.js?ver=1.12.4:3)

    Please help.

    #1341603
    Rupok
    Member

    Hi there,

    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.

    #1350941
    Amigaroxx
    Participant
    This reply has been marked as private.
    #1351076
    Rupok
    Member

    Hi there,

    Thanks for the URL. You are not using the full URL rather the ID only. So it won’t work from other page.

    Cheers!

    #1356486
    Amigaroxx
    Participant

    Wow, my sincere apologies Rupok. I feel stupid for overseeing that. Basic HTML, sigh.

    Again, sorry but thanks a lot for your help.

    #1356548
    Lely
    Moderator

    You’re always welcome!

    Feel free to open a new thread for other questions.

    Cheers!

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