Всплывающее окно начальной загрузки не отображается на моем сайте. Я скопировал всплывающий код с официального сайта Bootstrap. Вот ссылка на мой сайт Ссылка на сайт
Всплывающая кнопка расположена перед титрами нижнего колонтитула.
Текущее состояние:
Решение: У вас есть нижний колонтитул, <footer class="footer-social-icon text-center section_padding_70 clearfix"> Некоторые как есть z-index:-101; и position:fixed; в <footer> Вам необходимо удалить модель из <footer> снаружи и применить ее непосредственно до окончания тега </body>.
Решение:
<footer class="footer-social-icon text-center section_padding_70 clearfix">
z-index:-101;
position:fixed;
<footer>
</body>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <!-- Button trigger modal --> <button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModalLong"> Launch demo modal </button> <!-- Modal --> <div class="modal fade" id="exampleModalLong" tabindex="-1" role="dialog" aria-labelledby="exampleModalLongTitle" aria-hidden="true"> <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> <h5 class="modal-title" id="exampleModalLongTitle">Modal title</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> ... </div> <div class="modal-footer"> <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> <button type="button" class="btn btn-primary">Save changes</button> </div> </div> </div> </div>
Надеюсь, он начнет нормально работать.
Старый код с сайта:
Причина в том, что модальное содержимое размещается (вложено) внутри элемента нижнего колонтитула. Переместите этот модальный div к телу, и появится модальный.