Skip to content

Image Carousel "slides to show" on tablet #372

@daviedR

Description

@daviedR

Hi guys, I just found another issue.

If you have an image carousel with slidesToShow: 1, and see it on live page (not in Elementor Editor mode), the slider will resize to 2 slides when on 480-766px viewport:

When on larger than 766px viewport:
image

When on 480 - 766px viewport:
image

If you look at frontend.js, you make default configurations like this:

        var defaultOptions = {
                responsive: [
                    {
                        breakpoint: 767,
                        settings: {
                            slidesToShow: 2,
                            slidesToScroll: 2
                        }
                    },
                    {
                        breakpoint: 480,
                        settings: {
                            slidesToShow: 1,
                            slidesToScroll: 1
                        }
                    }
                ]
            },

            slickOptions = $.extend( {}, defaultOptions, $carousel.data( 'slider_options' ) );

It seems there is no way to override this default configurations when users choose slidesToShow: 1 on the Elementor editor.

Another question:
Could you define the table breakpoint as 768 instead of 767? If you define 767 the layout would change when reached 766px. It's 1 pixel difference, but seems important.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIndicates a bug with one or multiple components.type/responsiveIndicates when a topic is related to Responsive Design, for tablet, mobile, and other screens.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions