New Landing How can we help? Cardinal smooth scroll on manual link element?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Cardinal
  • #90375
    mikedubs
    Member
    Post count: 56

    hi guys,

    i placed an arrow graphic in my swift slider with a # link assuming it would smooth scroll like the one page nav links do, but it doesn’t, it skips right to the target. did i do something wrong or does smooth scroll not work with manual # links?

    thanks!

    #90441
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Just add the following to your anchor tag:

    class="smooth-scroll-link"

    Then it will take care of the smooth scroll for you ๐Ÿ™‚

    – Ed

    #90489
    mikedubs
    Member
    Post count: 56

    much thanks sir!

    #90509
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    No problem ๐Ÿ™‚

    – Ed

    #91417
    jazeppi
    Member
    Post count: 32

    Hey guys,

    Would this work if you used a button instead of an arrow?
    Eg: [sf_button colour="transparent-light" type="stroke-to-fill" size="standard" link="#" target="_self" icon="" dropshadow="no" extraclass="smooth-scroll-link"]LET'S GET STARTED[/sf_button]

    Thanks,
    jazeppi

    #91586
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Have you tried it?

    – Kyle

    #91846
    jazeppi
    Member
    Post count: 32

    Hey Kyle,
    Yeah I tried it and it didn’t work so then I just went the one page nav route and I made a row with Id form and then in the swift slider button code I added link="#form" . Works perfectly!
    Thanks

    #91856
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great! glad to hear it ๐Ÿ™‚

    – Kyle

    #91864
    jazeppi
    Member
    Post count: 32

    Hey Kyle,

    I actually just tried that same thing on the Rev Slider (using an icon instead of a button) and it works, but it does not have the smooth scroll effect. It just goes to that row almost instantly. Any fixes?

    Thanks,
    jazeppi

    #91871
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    The class=”smooth-scroll-link” needs to be on the a tag

    – Kyle

    #92689
    jazeppi
    Member
    Post count: 32

    Boom! Worked like a charm. Thanks bud.

    -jazeppi

    #92710
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Thanks Kyle!

    – Ed

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