0

How to make controls in the bootstrap carousel to change slides only when being clicked on? (I have text in my website and it makes it difficult for users to fill out the application)

  • Possible duplicate of [Bootstrap Carousel : Remove auto slide](https://stackoverflow.com/questions/14977392/bootstrap-carousel-remove-auto-slide) – Bertrand Aug 01 '18 at 21:15

1 Answers1

0

According to the documentation (assuming you're using Bootstrap 4) you have to add data-interval="false" to the element you're using for the carousel.

If you're initiating the carousel with JavaScript and want to keep all the options and configs in one place, add interval: false to your configuration.

Douwe de Haan
  • 6,247
  • 1
  • 30
  • 45