Okay
  Public Ticket #362974
Anchor link in main navigation not working
Closed

Comments

  • Joel started the conversation

    I have anchor links in main nav dropdowns. The links work correctly on the active page and take the user to the appropriate page position, but these links do not work from from any other page.

    Well, actually they do work, from the other pages, but only in mobile view -- not on full display size.

    Specifically, I have link to Board Of Directors as a dropdown under About. The URL in the custom menu item is: http://domain.org/subdomain/about/#board, with <h2 id="Board">Board of Directors</h2> as the anchor.

    On a full sized display:

    From the home page, clicking Board from the About dropdown takes me to http://domain.org/subdomain/#board

    On mobile display:

    From the mobile menu, clicking Board from the About dropdown correctly takes me to http://domain.org/subdomain/about/#board

  • Joel replied

    Update: edited init.js as per "Salient anchor tag to a new page".

    Result: anchor links in drop down menus work correctly from every page except Home page.

  •  8,448
    Tahir replied

    Hey!

    Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user only..
    Thanks 


    ThemeNectar Support Team 

  •   Joel replied privately
  •  8,448
    Tahir replied

    Would need your site url as well. 

    Thanks


    ThemeNectar Support Team 

  •   Joel replied privately
  •  991
    ThemeNectar replied

    Hey Joel, how\'re things working on your end now?

    Cheers

  • Joel replied

    Thanks for the support. All links appear to be working from all pages.

    Curious to know if the issue was a bug, or if it was my error...just want to know so I don't replicate the problem in the future.

    Cheers2

  •  8,448
    Tahir replied

    Hey Joel!

    It's a bug, will be sorted in the upcoming release.

    Cheers


    ThemeNectar Support Team