How to make the Carousel stop at the End - Forum | JoomShaper
Solved SP Page Builder

How to make the Carousel stop at the End

Asked by Benjamin Komenda 5 years ago Last activity 5 years ago

Hello, i am trying to use a carousel pro to display a long text in segments (like with pagebreaks). Is there a way to make the carussel stop at the last item an not return to the first item again? Alternativly is the another addon that can achieve this?

Thanks in Advance

Accepted answer

Marked as the solution
Benjamin Komenda Asked this

well i got it to work by adding data-wrap="false" in

components/com_sppagebuilder/addons/carouselpro/site.php

i hope this helps someone else:

before:

//Output start
        $output = '';
        $output  .= '<div id="sppb-carousel-'. $this->addon->id .'" data-interval="'.$interval.'" class="sppb-carousel sppb-carousel-pro sppb-slide' . $class . '"'. $carousel_autoplay .'>';

after:

//Output start
        $output = '';
        $output  .= '<div id="sppb-carousel-'. $this->addon->id .'" data-interval="'.$interval.'" data-wrap="false" class="sppb-carousel sppb-carousel-pro sppb-slide' . $class . '"'. $carousel_autoplay .'>';

I really hope this becomes a feature, it would be trivial to implement.

4 more replies

Mehtaz Afsana Borsha Staff

Hi,

Could you please give me an example what actually you are looking for?

-Thank you

Mehtaz Afsana Borsha Staff

There is no default option like this on page builder. You have to customize it by yourself as we do not provide customization support

Hope you understand.

Thank you

Mehtaz Afsana Borsha Staff

Glad to know that

Thank you for sharing

Log in to reply.