• Resolved itpcss

    (@itpcss)


    I use your wonderful plugin, please tell me how to make that picture in the carousel have a clear number such as 3, 4, 5? so they were not half, on the screenshot I have that, I mean that there are no halves, but a clear number.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    Thanks for the screenshot – do you also have a link to your site so I can take a closer look?

    Dave

    Thread Starter itpcss

    (@itpcss)

    You on the site in the same carousel examples, here’s a link https://www.metaslider.com/examples/carousel/

    the image is cropped, how to make sure that the image carousel placed 3-4 for example, to the next is not cropped, to be able to select how many images to display on the carousel. But for example, has a link http://owlgraphic.com/owlcarousel/demos/customJson.html there when you change the screen resolution, placed a certain number of images, and the following is not cropped

    Thread Starter itpcss

    (@itpcss)

    Unfortunately the example of my site, you can not see, because They have access to him a number of people

    Hi there,

    You could add the following to your theme’s functions.php file which will restrict the carousel to display three whole slides:

    function metaslider_flex_params($options, $slider_id, $settings) {
    	if ( ($slider_id == 123) ) { // change 123 to the ID of your slider
    		$options['minItems'] = 3;
    		$options['maxItems'] = 3; 
    	}
        	return $options;
    } 
    add_filter('metaslider_flex_slider_parameters', 'metaslider_flex_params', 11, 3);

    You can change the number of slides in the code as necessary.

    Thanks,
    Dave

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘carousel image’ is closed to new replies.