Swiper JS Slider Responsiveness in Webflow

Sdílet
Vložit
  • čas přidán 26. 03. 2024
  • In this video, we discussed two ways to make your Swiper JS Slider responsive in Webflow.
    Method 1:
    Utilize Swiper JS parameters and specify the number of slides on different breakpoints.
    Access the properties here: swiperjs.com/element
    Method 2:
    Set slidesPerView to 'auto' and control the slides' width directly from the Webflow properties panel.
    It's that simple.
    Connect with me at:
    Instagram: / ahmedqayyum32
    Twitter: / ahmedqayyum32
    LinkedIn: / ahmedqayyum32

Komentáře • 6

  • @laahorikitchen
    @laahorikitchen Před 4 měsíci +1

    behtreen 👍

  • @ShubhamDas-vs2vd
    @ShubhamDas-vs2vd Před měsícem +1

    how can we have multiple js sliders in one single page?

    • @ahmedqayyum
      @ahmedqayyum  Před měsícem

      That's an excellent question, it requires to create an object, and declare every swiper as an instance of that object

  • @ShubhamDas-vs2vd
    @ShubhamDas-vs2vd Před měsícem

    how can we have multiple js sliders in one single page?

    • @KUZON99
      @KUZON99 Před měsícem

      rename to "swiper-2", "swiper-wrapper-2", etc... - and initialize an additional swiper in the page code