How to Resizing Image in Bootstrap Carousel

The reason why your image is resizing which is because it is fluid. You have two ways to do it:

1. Either give a fixed dimension to your image using CSS like:

[css].carousel-inner > .item > img {
width:640px;
height:360px;
}[/css]

2. A second way to can do this:

[css].carousel {
width:640px;
height:360px;
}[/css]

[custom-related-posts title=”You may Also Like:” none_text=”None found” order_by=”title” order=”ASC”]

Leave a Comment