Peter Tuson
Hello Peter,
Thanks for your help.
I decided to copy the resulting code that bootstrap produced and then add the modules anywhere directly to the body, for example:
<div id="whatifModal" class="joomla-modal modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<h3 class="modal-title color">What if ?</h3>
<button type="button" class="btn-close novalidate" data-bs-dismiss="modal" aria-label="Close"></button></div>
<div class="modal-body">{module title="Career - What if"}</div>
</div>
</div>
</div>
Then I used the standard link to it, for example:
<li><a id="myaccount" style="cursor: pointer;" data-bs-target="#myAccountModal" data-bs-toggle="modal"><img src="images/iShine/Menu/my_account.svg" alt="My Account" style="width: 8%; margin-left: -0.3rem;" /><span class="color" style="margin-left: 0.7rem;">My Account</span></a></li>
This turned out to be very easy to implement and it works well.
Regards,
Peter.