How to increase Modal width or change color
See original GitHub issuei need to change Modal width to ‘650px’
- components:
Modal - reactstrap version
#5.0.0-alpha.3 - react version
#16.0.0 - bootstrap version
#4.0.0-beta.2
What is happening?
I added my inline style in Modal or ModalBody
style={{width:'600px'}}
or
style={{background-color:transparent}}
but this is not working. then I checked in browser, div tag with .modal-content css class is middle in Modal and ModalBody.
so, where should I write this css style and className
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (4 by maintainers)
Top Results From Across the Web
Modal width (increase) - bootstrap 4 - Stack Overflow
To use these we will replace the modal-lg class. Both the default width and modal-lg use css max-width to control the modal's width,...
Read more >How to Change the Default Width of Bootstrap Modal Box
Answer: Set width for .modal-dialog element. By default, Bootstrap modal are available in four different sizes — small, default, large and extra-large.
Read more >How to change Bootstrap Modal Width and Height - 3 Examples
In order to increase or decrease the modal window height and width properties of Bootstrap, you need to get the modal related classes...
Read more >How to configure modal width in Bootstrap? - GeeksforGeeks
In this article, we will focus on adjusting the width/height of the modal box. ... Bootstrap has pre-defined classes for changing modal dimension ......
Read more >Bootstrap Modal Sizing - free examples & tutorial
Responsive popup window sizing with Bootstrap 5. Modal width, modal height, fullscreen modal, large modal with lg & xl modal classes and more....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Duplicate of #595
Is it possible to override
@media (min-width: 576px) { .modal-dialog { max-width: 500px; } }in order to setmax-widthto a higher value?