Closed nam-co closed 7 years ago
I'm guessing that photo is supposed to rotated 90 degrees, right? If so, it's not working because each slide is only the height of it's contents. To adjust for this, add this to your CSS:
.swiper-slide {
flex-grow: 1;
height: auto;
}
That should allow you to set a background color on .swiper-slide
as you're trying to do.
Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:
@nam-co I know this is a year old, but I had the same issue and found this bug, so in case you or anyone else who finds this wants to make this work as expected, you need to set:
fadeEffect: {
crossFade: true
}
This is a (multiple allowed):
Hello, hope somebody can help me, I using the fade effect but Im getting this overlap of images, how can I fix this? I tried this css but it didn't work, appreciate any help
.swiper-slide { min-height: 100%; background-color: white !important; }