forum Posted March 19 Share Posted March 19 https://codepen.io/codepcod/pen/abxpRGd swiper-slide set to fixed width but it doesn't work, why is it stretched to fill the whole screen, I tried wide display but it doesn't work in my unit Quote Link to comment https://forums.phpfreaks.com/topic/319168-why-do-elements-go-outside-the-block/ Share on other sites More sharing options...
Solution requinix Posted March 19 Solution Share Posted March 19 Your .swiper-slide is being overridden by the "swiper-bundle" rules. Don't fight the framework. If the swiper wants to have width:100% then put it inside a fixed-width container. Quote Link to comment https://forums.phpfreaks.com/topic/319168-why-do-elements-go-outside-the-block/#findComment-1618213 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.