Topic: Modal not displaying
Comportement attendu modal ouvert Comportement réel
La fenêtre modale ne s'ouvre pas.
[`
<!-- Right elements -->
<!-- Center elements -->
<div class="col-md-3">
<!-- AIN Moteur 2024 --> <script async src="https://cse.google.com/cse.js?cx=partner-pub-4451249417804546:2479701694">
<!-- Right elements -->
<div class="col-lg-6 d-flex justify-content-center justify-content-md-end align-items-center">
<a class="me-3 nav-link py-1" href="#likePage" data-mdb-toggle="tooltip" title="Coups de coeur"><i class="fa-solid fa-heart me-1 text-danger"></i> <span class="d-none clearfix d-sm-inline-block fw-bold">Et Aussi...</span></a>
<a class="nav-link py-1" href="#galerie" data-mdb-toggle="tooltip" title="Galerie photos Haute-Savoie Tourisme"><i class="text-warning fa-image fa-regular me-1"></i> <span class="d-none clearfix d-sm-inline-block fw-bold">Galerie</span> </a>
<!-- Button Modal -->
<div class="ms-3">
**<button type="button" class="btn btn-info" data-mdb-ripple-init data-mdb-modal-init data-mdb-target="#ModaliAlpes">NOS SITES</button>**
</div>
<!-- User -->
</div>
<!-- Right elements -->
</div>
</div>
<!-- / End Block Navbar Sup -->`][1]
Ressources (captures d'écran, extraits de code, etc.)
<!-- **Calling the modal MODAL SITES MDB 7** -->
iAlpes Tourisme AIN
Bonjour,
J'ai un problème : la fenêtre modale ne s'ouvre pas s'il y a un carrousel pleine page.
La fenêtre modale ne s'affiche pas et le bouton modal fait défiler les images du carrousel ?
Cela n'arrive pas avec les demi-carrousels ou autres modèles. Merci pour votre aide. Alain
Kamila Pieńkowska
staff answered 2 days ago
Please translate your question into English. We provide support for the international community and we want everyone to be able to use and understand the answer.
LAGIER pro premium priority commented 2 days ago
Hello Kamila, I'm sorry my request is coming in French and not in English. This is due to Google Translate translating the text I'm posting in English.
I think I've resolved the issue in the meantime.
My question was:
I have a problem: the modal window doesn't open if there's a full-page carousel.
The modal window doesn't display, and the modal button scrolls through the images in the carousel?
This doesn't happen with half-carousels or other templates.
Thank you for your help. Alain
LAGIER
pro premium priority answered a day ago
Hello Kamila,
Sorry to bother you, but I finally managed to resolve the problem.
I'm not sure it's perfect, but it works.
However, in smartphone mode, , the megamenu remains open and you can't see the page scrolling behind it.
I think this is an old question that's already been asked.
Thank you for your patience and help.
Alain
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: MDB5 9.0.0
- Device: Desktop
- Browser: All
- OS: Windows 11
- Provided sample code: No
- Provided link: Yes