• I would like to have a responsive carousel which always displays 3 images. The size of each image will be responsive to the screenview size. With the current setting of Flex Slider carousel, when the screenview size decreases, the carousel will only display partial of the 3 image sets. How can I achieve it? Thanks!

    https://wordpress.org/plugins/ml-slider/

Viewing 1 replies (of 1 total)
  • Hi there,

    Add the following code to your theme’s functions.php file:

    function metaslider_flex_params($options, $slider_id, $settings) {
        if ($slider_id == 1234) { // check for slider ID (optional)
         $options['minItems'] = 3;
        }
        return $options;
    }
    add_filter('metaslider_flex_slider_parameters', 'metaslider_flex_params', 11, 3);

    Replace ‘1234’ with the ID of the slider you’re looking to change or just remove this condition.

    Thanks,
    Dave

Viewing 1 replies (of 1 total)
  • The topic ‘Always display 3 images carousel’ is closed to new replies.