Multiple Canvas Swipe Sliders in one document

1 reply · opened Feb 27, 2017

SsuddarenFeb 27, 2017

Hi,

I want to implement several Canvas Swipe Sliders in the same document.

I change the <section id="slider"> to a unique value, such as slider-2, slider-3 etc. and I have removed the .slider-parallax and -slider-parallax-inner classes on all the sliders.

However, the second one does no play and the .slider-caption (caption/text/button) is misplaced in the upper left corner, without any padding.

Please see code example below

Thanks!

Best regards,
Suddaren


<section id="slider-2" class="swiper_wrapper full-screen clearfix" data-autoplay="7000" data-speed="650">

            &lt;div class="swiper-container swiper-parent"&gt;
                &lt;div class="swiper-wrapper"&gt;

                    &lt;!--Forst Slide--&gt;
                    &lt;div class="swiper-slide dark" style="background-image: url(...); background-position: center top"&gt;
                        &lt;div class="container clearfix"&gt;
                            &lt;div class="slider-caption"&gt;
                                &lt;h2 style="text-decoration"&gt;My headline&lt;/h2&gt;
                                &lt;p&gt;Create just what you need for your Perfect Website.&lt;/p&gt;
                                [Learn More](#)
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;

                    &lt;!--Second Slide--&gt;
                    &lt;div class="swiper-slide dark" style="background-image: url(...); background-position: center top"&gt;
                        &lt;div class="container clearfix"&gt;
                            &lt;div class="slider-caption"&gt;
                                &lt;h2 style="text-decoration"&gt;My second headline&lt;/h2&gt;
                                &lt;p&gt;Create just what you need for your Perfect Website.&lt;/p&gt;
                                [Learn More](#)
                            &lt;/div&gt;
                        &lt;/div&gt;
                    &lt;/div&gt;

                &lt;/div&gt;

                &lt;div class="swiper-pagination"&gt;&lt;/div&gt;
            &lt;/div&gt;

    &lt;/section&gt;
SSemicolon WebSTAFFMar 10, 2017

Hello,

Unfortunately, 2 Swiper Sliders on a Single Page is currently not supported out of the box. We are working on this at the moment and will release this in a Update once this is successfully implemented. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard