2018-11-11, 05:28 PM
hi
i was creating a responsive theme, when i came up with the followings problems:
there's no the x button in login modal
the theme is in localhost, currently using sidebarjs library: https://github.com/SidebarJS/sidebarjs
maybe it's that the problem, because the login modal is inserted into this sidebar, i checked it but for me isn't that.
testing the code, i noticed that when i'm gonna click on login, this following line of code isn't showing in dom:
Thanks.
[EDIT]
i found the problem,
the js boostrap library doesn't work with mybb modal
i was creating a responsive theme, when i came up with the followings problems:
there's no the x button in login modal
the theme is in localhost, currently using sidebarjs library: https://github.com/SidebarJS/sidebarjs
maybe it's that the problem, because the login modal is inserted into this sidebar, i checked it but for me isn't that.
testing the code, i noticed that when i'm gonna click on login, this following line of code isn't showing in dom:
Quote:<a href="#close-modal" rel="modal:close" class="close-modal ">Close</a>and in global.css i inserted the relative modal css code so isn't that the problem.
Thanks.
[EDIT]
i found the problem,
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
the js boostrap library doesn't work with mybb modal