New Landing How can we help? Cardinal Scroll to a section

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Cardinal
  • #293710
    Dindoop
    Member
    Post count: 37

    Hi,

    Can I have a button in the Swift slider, on clicking, scrolls down to a particular section?

    Best
    Dinoop Dayanand

    #293768
    David Martin – Support
    Moderator
    Post count: 20834

    Sure, it can link to the content of the page. Not to a specific section.

    In a page Meta Options, enable the Swift Slider Continue button:

    #293979
    Dindoop
    Member
    Post count: 37

    Aaah!! This wouldnt help.

    I wanted to put a Portfolio button in the swift slider and when the user clicks, it scrolls to the portfolio section which is around 1000px below.

    #293980
    David Martin – Support
    Moderator
    Post count: 20834

    If you wrap the Portfolio section within a Row and provide the Row with a unique ID. You can then link to that row with a button and reference the ID as the link, ex: #portfoliosection.

    Using that method you should be able to smooth scroll down to the section.

    #294011
    Dindoop
    Member
    Post count: 37

    Thank you David, it works.

    Currently, it just jumps to a section. Is there a way it can scroll smoothly to the section? This is just an add-on to make the experience better. 🙂

    #294019
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    did you placed the entire url in the link? You should place only the anchor point

    #your-anchor-point

    -Rui

    #294036
    Dindoop
    Member
    Post count: 37

    Yes, I placed only the anchor point and it jumps to that section.

    I was wondering if there is a way it page can scroll smoothly to that section rather than a jump.

    #294093
    David Martin – Support
    Moderator
    Post count: 20834

    What page are you testing this on, please link me to it.

    What you need to do is copy out the HTML generated, and add in the class smooth-scroll-link, then paste the raw HTML back into the PB.

    Thanks.

    #294190
    Dindoop
    Member
    Post count: 37
    This reply has been marked as private.
    #294461
    David Martin – Support
    Moderator
    Post count: 20834

    You can use this HTML for a button and amend the link:

    <a class="sf-button large black bordered sf-button-has-icon smooth-scroll-link" href="#ROW-SECTION-ID" target="_self"><span class="text">BUTTON TEXT</span><i class="fa-long-arrow-right"></i></a>

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