Another simple responsive Bootstrap 5 testimonial slider using the Bootstrap carousel with multiple items.
Final output:
“Some quick example text to build on the card title and make up the bulk of the card’s content.”

Jane Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

June Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company1. I’ll be using the Bootstrap 5 Carousel Multiple Items slider from a previous post for the Bootstrap testimonial slider.
(Rerun when changing sizes)
For Bootstrap 5.2+, add wrap: false to stop the continuous cycle.
2. Install Bootstrap icons. Add the quotes icon inside the card. Wrap it in a div and use the display class to increase its size. Change the font color using the class text-body-tertiary.
Remove the button. Place the image and the card title inside another div in the card body below the card-text. Let’s remove the img-wrapper div and use even-size images. Use flex to align items. And add some padding on top.
Remove the img-wrapper and img styles and use this instead. Specify the image width and height. For a circular image, set the border radius to 50% and overflow to hidden. Add some right margin.
This is how the testimonial card HTML should look:
Output:
Some quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example Company3. Let’s display three cards only on large screens. For screens with a width of 576px to 1024px, display only two cards.
Let’s place the carousel controls away from the cards(currently overlapping).
Output:
Some quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example CompanySome quick example text to build on the card title and make up the bulk of the card’s content.

John Doe
CEO, Example Company4. You can change the box shadow for the card. I’m changing to a smaller shadow using the Bootstrap class shadow-sm. Set the border to 0. Change the border-radius too(rounded-3).
Change the background color for the controls.
Output:
“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example Company“Some quick example text to build on the card title and make up the bulk of the card’s content.”

John Doe
CEO, Example CompanyVideo tutorial for Bootstrap 5 Testimonial Slider #2:
Final Output Code for Bootstrap 5 Testimonial Carousel Slider #2:
HTML
CSS
jQuery
If you have any doubts or stuck somewhere, you can reach out through Coding Yaar's Discord server.