New Landing How can we help? Themeforest Theme Support Dante Using Anchor link in nav for multi-page site

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #285218
    rolandcs
    Member
    Post count: 2

    Hello,

    I am trying to using anchor links in my main navigation and am having a couple problems:

    1) I am using anchor links with smooth scrolling for my home page, but when I am on another page (e.g. Contact), these links do not work because the link is looking for an anchor on only the current page

    2) I can fix this by adding ‘/’ (e.g. /#anchor) or typing the full URL. However, this disables the smooth scrolling feature.

    Is there anyway to have smooth scrolling while linking to anchors on my home page when navigating away from another static page?

    Thank you in advance

    #285221
    David Martin – Support
    Moderator
    Post count: 20834

    Create two menus. 1) for the homepage 2) for inner pages. For menu 2, you can use full links, eg: yoursite.com/contact

    You can set a different menu on a page per page basis.

    #285856
    rolandcs
    Member
    Post count: 2

    Brilliant! Thank you very much!

    #285860
    David Martin – Support
    Moderator
    Post count: 20834

    Anytime!

    – David.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register