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:

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

2. A second way to can do this:

.carousel {
  width:640px;
  height:360px;
}

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

Leave a Comment