Home › Forums › Pro Support › Carousel breakpoint behaviour › Reply To: Carousel breakpoint behaviour
December 13, 2019 at 6:23 pm
#12324
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 🙂