New Landing How can we help? Atelier Smooth Page Scroll instead of link in swift slider

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #226849
    raaL86
    Member
    Post count: 9

    Hey guys,
    first: Your theme is great. Very well coded, perfect support, loads of options.
    As a client I really feel that you try to make everything possible for me. You are great although some clients are really demanding – as I could read here.

    Here comes my issue:
    I want to have the page scrolled down when the white button in my swift slider is clicked. Is that possible?
    See a screenshot here:
    https://www.evernote.com/l/AMrLcuAnSB9NvIWScARChgKaDJTAKKrODlw

    And this is what I mean with the scroll down function:
    https://css-tricks.com/examples/SmoothPageScroll/

    Could you give me a code snippet that I can add to the button code in the swift slider?

    Thanks in advance!

    #227207
    David Martin – Support
    Moderator
    Post count: 20834

    You can add the class smooth-scroll-link to the link and the scroll will be smooth.

    Thanks,
    David.

    #227208
    raaL86
    Member
    Post count: 9

    Ok, but how does the button know that it shall scroll down to the point where the background of the swift slider ends?
    What about inserting an anchor at the point where it shall scroll to? What code do I have to insert at the anchor element and what code do I have to insert in the button code?

    That’s how the button code for the white button looks like now:

    [sf_button colour=”white”
    type=”sf-icon-stroke”
    size=”standard”
    link=”http://www.sprachdruck.com/ideen/”
    target=”_self”
    icon=”fa-heart”
    dropshadow=”yes”
    extraclass=”smooth-scroll-link”]Mehr…[/sf_button]

    #227211
    David Martin – Support
    Moderator
    Post count: 20834

    Hey,

    You should be simply able to change the link, from this link="http://www.sprachdruck.com/ideen/" to just link="#main-container".

    Thanks,
    David.

    #227215
    raaL86
    Member
    Post count: 9

    Works! Great team and swift answer. Perfect and big thanks!

    #227219
    David Martin – Support
    Moderator
    Post count: 20834

    No problem! Glad to help.

    – David.

Viewing 6 posts - 1 through 6 (of 6 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