How can I change the default width of a Twitter Bootstrap modal box?

后端 未结 30 2739
醉酒成梦
醉酒成梦 2020-11-27 08:38

I tried the following:

   
30条回答
  •  醉酒成梦
    2020-11-27 09:17

    This is what I did, in my custom.css I added these lines and that was all.

    .modal-lg {
        width: 600px!important;
        margin: 0 auto;
    }
    

    Obviously, you can change the size of the width.

提交回复
热议问题