Bootstrap 3

You can create or just override default bootstrap modal-lgby doing below:

.modal-lg {
    max-width: 80%;
}

If not working just add !important so it would look like below

.modal-lg {
    max-width: 80% !important;
}

Now call the modal-lg.

<div class="modal-dialog modal-lg" role="document">
 <!-- some modal content --->
</div

For Bootstrap 4 refer to @kitsu.eb answer. Also note that using bootstrap 4 utilities might break the responsiveness.

Answer from claudios on Stack Overflow
🌐
Bootstrap
getbootstrap.com › docs › 4.2 › components › modal
Modal · Bootstrap
Embedding YouTube videos in modals requires additional JavaScript not in Bootstrap to automatically stop playback and more. See this helpful Stack Overflow post for more information. Modals have three optional sizes, available via modifier classes to be placed on a .modal-dialog.
🌐
Bootstrap
getbootstrap.com › docs › 4.6 › components › modal
Modal · Bootstrap v4.6
Embedding YouTube videos in modals requires additional JavaScript not in Bootstrap to automatically stop playback and more. See this helpful Stack Overflow post for more information. Modals have three optional sizes, available via modifier classes to be placed on a .modal-dialog.
🌐
DataTables
datatables.net › forums › discussion › 60039 › editor-modal-width-in-bootstrap-4
Editor Modal Width in Bootstrap 4 — DataTables forums
Is there a way to increase the modal width? At present, the width is 500px, which is the size of a BS4 standard modal. Can it be increased to modal-lg?
🌐
Tutorial Republic
tutorialrepublic.com › faq › how-to-change-the-default-width-of-bootstrap-modal-box.php
How to Change the Default Width of Bootstrap Modal Box
<!DOCTYPE html> <html lang="en"> ...strap.min.js"></script> <style> @media screen and (min-width: 676px) { .modal-dialog { max-width: 600px; /* New width for default modal */ } } </style> </head> <body> <div class="m-4"> <!-- Button ...
🌐
W3Schools
w3schools.com › bootstrap › bootstrap_modal.asp
Bootstrap Modal Plugin
By default, modals are medium in size. For a complete reference of all modal options, methods and events, go to our Bootstrap JS Modal Reference.
🌐
TutorialsPoint
tutorialspoint.com › bootstrap4 › bootstrap4_modal.htm
Bootstrap 4 - Modal
<html lang = "en"> <head> <!-- Meta tags --> <meta charset = "utf-8"> <meta name = "viewport" content = "width = device-width, initial-scale = 1, shrink-to-fit = no"> <!-- Bootstrap CSS --> <link rel = "stylesheet" href = "https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity = "sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin = "anonymous"> <title>Bootstrap 4 Example</title> </head> <body> <div class = "container"> <h2>Modal Size</h2> <br> <!-- Large modal --> <button type = "button" class = "btn btn-info" data-toggle = "modal"
🌐
CodePen
codepen.io › cemg › pen › LQrxLV
Bootstrap 4 Modal Auto Height
.modal-autoheight .modal-body { position: relative; overflow-y: auto; min-height: 100px !important; max-height: 600px !important; }
Find elsewhere
🌐
Tutorial Republic
tutorialrepublic.com › codelab.php
Live Demo: Bootstrap Large, Extra Large and Small Modals Sizes
View the live example as well as try and test it using the online HTML editor.
🌐
MDBootstrap
mdbootstrap.com › standard › modal size
Bootstrap Modal Sizing - free examples & tutorial
These sizes kick in at certain breakpoints to avoid horizontal scrollbars on narrower viewports. ... <div class="modal-dialog modal-xl">...</div> <div class="modal-dialog modal-lg">...</div> <div class="modal-dialog modal-sm">...</div> Another override is the option to pop up a modal that covers the user viewport, available via modifier classes that are placed on a .modal-dialog.
🌐
BootstrapBay
bootstrapbay.com › blog › day-14-bootstrap-4-modals-tutorial-and-examples
Day 14: Bootstrap 4 Modals Tutorial and Examples – BootstrapBay
October 14, 2020 - Side note: The code is identical to the one in Basic Example, I just added more text inside the .modal-body. By default, the Bootstrap 4 modal has a short fixed distance to the top of the page.
🌐
GeeksforGeeks
geeksforgeeks.org › how-to-configure-modal-width-in-bootstrap
How to configure modal width in Bootstrap? | GeeksforGeeks
September 6, 2021 - Bootstrap Modal: It is a dialog window that opens inside the browser window on triggering certain events. It is a really convenient way to improve the website's content rendering as per the requirements. In this article, we will focus on adjusting the width/height of the modal box.
🌐
GeeksforGeeks
geeksforgeeks.org › bootstrap › bootstrap-4-modal
Bootstrap 4 | Modal - GeeksforGeeks
April 4, 2023 - Scrolling modal: This is required when you have a long message to show on modal which take large place compare to modal size that time Scrolling Modal is required, similarly this class can be added in the <div> tag in the class with the "modal-dialog".
🌐
React Bootstrap
react-bootstrap.netlify.app › modals
Modals | React Bootstrap
You can specify a Bootstrap large or small modal by using the size prop.
🌐
Software Testing Help
softwaretestinghelp.com › home › bootstrap tutorials: zero to hero tutorial series bootstrap 4 › how to use bootstrap modal popup forms
How To Use Bootstrap Modal Popup Forms
April 1, 2025 - Learn to create Bootstrap 4 Modals including creating, positioning, adding various contents, etc.: In this tutorial, we have covered an introduction to Bootstrap Modals, how to create a basic modal using data attributes, modal components, scrolling modals, centered modals, small modals, default size modal, large modal, extra-large modal, activate modals via JavaScript, modals with an animation, adding various content to modals.
🌐
SitePoint
sitepoint.com › html & css
Bootstrap 4 Modal Width Issue on Phone - HTML & CSS - SitePoint Forums | Web Development & Design Community
November 26, 2018 - Hi All I have spent quite a bit of time on this and can’t find the answer. I have even stripped the code right back to just the sample code off the Bootstrap websites, below. I am using the Bootstrap 4 Modal for my terms and conditions and also for a YouTube video… it all works fine except ...
🌐
Bootstrap
getbootstrap.com › docs › 5.0 › components › modal
Modal · Bootstrap v5.0
Embedding YouTube videos in modals requires additional JavaScript not in Bootstrap to automatically stop playback and more. See this helpful Stack Overflow post for more information. Modals have three optional sizes, available via modifier classes to be placed on a .modal-dialog.