Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image slider don't scale, and text is not visible on mobile view #85

Open
dnkn78 opened this issue Feb 21, 2021 · 1 comment
Open

image slider don't scale, and text is not visible on mobile view #85

dnkn78 opened this issue Feb 21, 2021 · 1 comment

Comments

@dnkn78
Copy link

dnkn78 commented Feb 21, 2021

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.

@James-P-Bennett
Copy link

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.

You might be seeing the viewport restriction for mobile view. The carousel item doesn't properly fit on most mobile displays

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants