You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stuck in various problems. I'm using VueJS 3 and Swiper 11.0.3.
Slides are getting the wrong width. For example, I want to show 1 slide on mobile, 2 or 3 on tables and 4 or 5 on desktop view. So how do I fix this? I've tried several things like adjusting sizes for swiper container or wrapper but I couldn't get it to work.
When resizing the browser window, the slider reduces the amount of visible slides as expected. But for an unknown reason, on lower width, the total width of the slider is way too much:
Mobile view (500 px):
Tablet view (1032 px):
Desktop view (1920 px):
Desktop view (2560 px):
I have a container with a max with of 96 rem (display block), centered horizontally in its parent (margin: 0 auto). And the slider always have a full width of 96 rem.
I cannot click the arrows on mobile/tablet view to slide to the next one. How do I fix this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I stuck in various problems. I'm using VueJS 3 and Swiper 11.0.3.
When resizing the browser window, the slider reduces the amount of visible slides as expected. But for an unknown reason, on lower width, the total width of the slider is way too much:
Mobile view (500 px):

Tablet view (1032 px):

Desktop view (1920 px):

Desktop view (2560 px):

I have a container with a max with of 96 rem (display block), centered horizontally in its parent (margin: 0 auto). And the slider always have a full width of 96 rem.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions