Skip to content

Carousel auto resize #34202

Discussion options

You must be logged in to vote

anyway I fixed it. turns out the .carousel item in the bootstrap css(after tweaking everything for the carousel in there form transforms to animations to transitions it turned out to be a simple width problem) was bigger than the actual container and images in it and I had to set the width of the .carousel-item in my css as override to 600px the same width of the images in there and also the div that holds them .carousel-inner or something like that to 600px as well. And then since it broke on mobile and it functioned perfectly on mobile before at 615 px I added a media query to set the sizes back to 100% as in the original bootstrap.css file. So I guess if you have images that are not th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by stefanmz7-main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant