image slider don't scale, and text is not visible on mobile view
dnkn78 opened this issue · comments
When browser window is resized smaller/narrow or on mobile view, the pictures in the slider get cropped, so that central part of images are shown.
I solved these 2 issues by removing hight and min-height from .carousel-item
and adding height: 56.25vw
, in modern-business.css.
To make text appear, carousel option div has to use only carousel-caption
class, in index.html.
When browser window is resized smaller/narrow or on mobile view, the pictures in the slider get cropped, so that central part of images are shown.
I solved these 2 issues by removing hight and min-height from
.carousel-item
and addingheight: 56.25vw
, in modern-business.css.
To make text appear, carousel option div has to use onlycarousel-caption
class, in index.html.
You might be seeing the viewport restriction for mobile view. The carousel item doesn't properly fit on most mobile displays