How to increase Bootstrap Modal Width?

Damara Jati P picture Damara Jati P · Dec 1, 2015 · Viewed 332.6k times · Source

i've tried this but gone wrong

here's the css

body .modal-ku {
width: 750px;
}

and here's the failed result

enter image description here

Answer

In your code, for the modal-dialog div, add another class, modal-lg:

<div class="modal-dialog modal-lg">

Or if you wanna centre your modal dialog, use:

.modal-ku {
  width: 750px;
  margin: auto;
}