New Landing How can we help? Themeforest Theme Support Dante Smooth scrolling one page / anchors

Viewing 9 posts - 16 through 24 (of 24 total)
  • Posted in: Dante
  • #107414
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,

    @danx88
    – You are using name attribute instead of id.Please change name=”info” to id=”info” in anchor tag.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #108347
    crease
    Member
    Post count: 101

    This is working fine.
    BUT is there a way I can adjust the positioning a few pixels higher to hide the button?
    If I move the anchor any lower I will miss the whole section I am trying to link to.

    #108353
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please follow this article http://support.swiftideas.net/knowledgebase/how-to-create-a-one-page-site-using-the-one-page-navigation/.

    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #108373
    crease
    Member
    Post count: 101

    I have it working (but thanks for the article) and I cant (or dont want to) add any more space above.

    I just thought there might be a line of code I could add to scroll 20px below the anchor or something?

    Just sop I can fine tune it a little. I can still see the bottom of the slider at the moment and it would be a lot cleaner if I could get past this. Thanks

    #108380
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit funtions.js at /danten/js/

    Find this code at line 150 :-
    jQuery('html, body').stop().animate({
     scrollTop: jQuery(linkHref).offset().top + spacerHeight - headerHeight - 30
    }, 1000, 'easeInOutExpo');
    
    Change to:-
    jQuery('html, body').stop().animate({
     scrollTop: jQuery(linkHref).offset().top + spacerHeight - headerHeight - 10
    }, 1000, 'easeInOutExpo');

    Please check attachment.

    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    Attachments:
    You must be logged in to view attached files.
    #108404
    crease
    Member
    Post count: 101

    Thank you.

    #108414
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. I’m glad that issue resolved.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #128739
    intothewoodx
    Member
    Post count: 31

    Hi,

    Not sure where the add the Href code, is it in the editor or the CSS?

    #128786
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    If you are referring to Mohammad code follow is instructions by opening
    the file funtions.js at /dante/js/

    -Rui

Viewing 9 posts - 16 through 24 (of 24 total)

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

License required for the following item
Login and Registration Log in · Register