Create a CSS class for .modal
and add display:block
. Also give in
class to modal div.
CSS
.modal {
display:block;
}
HTML
<div id="my-modal" class="modal fade in">
Edit: Somehow default closing function will not work, you will need to add custom script for that.