Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Carousel breakpoint behaviour Reply To: Carousel breakpoint behaviour

#12324
Tom
Keymaster

Hi there,

Give this function a shot:

add_filter( 'wpsp_carousel_args', function( $args ) {
    $args['responsive'] = array(
        array(
            'breakpoint' => 1024,
            'settings' => array(
                'slidesToShow' => 2,
                'slidesToScroll' => 2,
            ),
        ),
        array(
            'breakpoint' => 768,
            'settings' => array(
                'slidesToShow' => 1,
                'slidesToScroll' => 1,
            ),
        )
    );

    return $args;
} );

You can change the breakpoints and the slidesToShow/Scroll to whatever you need.

Let me know if you need more info 🙂