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'm using the Bricks Builder slider widget, which is based on Splide. I need to show partial previous/next slides, so I added padding on the slider container. The problem is that the adjacent slides get clipped.
the partial slides become visible, but then the entire slider starts overflowing horizontally and ends up wider than the page. Forcing width: 100% on the slider elements doesn’t fix it, because Splide keeps applying large inline widths to .splide__list.
Is there a proper way to show partial slides (peek effect) in Bricks/Splide without breaking the layout width?
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.
-
Hi,
I'm using the Bricks Builder slider widget, which is based on Splide. I need to show partial previous/next slides, so I added padding on the slider container. The problem is that the adjacent slides get clipped.
When I set:
my options:
the partial slides become visible, but then the entire slider starts overflowing horizontally and ends up wider than the page. Forcing width: 100% on the slider elements doesn’t fix it, because Splide keeps applying large inline widths to .splide__list.
Is there a proper way to show partial slides (peek effect) in Bricks/Splide without breaking the layout width?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions