How can I achieve responsiveness?

Created on 18 March 2024, 3 months ago
Updated 18 April 2024, 2 months ago

I've apparently got a working swiper with four slides horizontally placed. The content of the slides is text.
The problem is that if I reduce the viewport width the swiper frame will contain four slides anyway, and the width of the slides will reduce proportionally, till the slides eventually get an awkward look.
Apparently "four" is fixed in the slider template, so the only chance I see is in making the swiper frame width dependent on the width of the viewport, so that I can see a number of slides fewer than four when the viewport shrinks (down to one in the case of a smartphone display in vertical position).

Do you have any suggestions?

Thanks in advance!

Andrea

💬 Support request
Status

Closed: duplicate

Version

1.0

Component

Miscellaneous

Created by

🇮🇹Italy AppLEaDaY

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @AppLEaDaY
  • Status changed to Closed: duplicate 2 months ago
  • 🇳🇱Netherlands nk_

    This is just released in 2.0.x branch. Please check out this issue: https://www.drupal.org/project/swiper_formatter/issues/3441764 ✨ Breakpoints feature Needs review which shall stay as the only one related to this feature for the time being. Closing as duplicate.

Production build 0.69.0 2024