<div class="modal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Modal title</h4>
</div>
<div class="modal-body">
<p>One fine body…</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
how can I change the default modal position in bootstrap, where should I edit to change the default position.
I get a better result setting this class:
With bootstrap 3.3.7.
(all credits to msnfreaky for the idea...)
I know it's a bit late but I had issues with a modal window not allowing some links on the menu bar to work, even when it has not been triggered. But I solved it by doing the following:
Add the following css to your html and try changing the top, right, bottom, left values.
To change the Modal position in the viewport you can target the Modal div id, in this example this id is myModal3