I decided to make a plain bootstrap dropdown menu myself but It looks like there are bootstrap problems/conflicts in Varsita/Helix.
- Both Bootstrap 5.1 & 5.2.3 files are loaded , don't know if they are from Varsita or Helix
- Bootstrap.min.js is loaded twice , one before popper.js and one after
I created custom HTML module and used the bootstrap example code with default Joomla template and works fine:
<div class="btn-group" role="group" aria-label="Button group with nested dropdown">
<button class="btn btn-primary" type="button">1</button>
<button class="btn btn-primary" type="button">2</button>
<div class="btn-group" role="group"><button id="btnGroupDrop1" class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false"> Dropdown </button>
<ul class="dropdown-menu" aria-labelledby="btnGroupDrop1">
<li><a class="dropdown-item" href="#">Dropdown link</a></li>
<li><a class="dropdown-item" href="#">Dropdown link</a></li>
</ul>
</div>
</div>
When I switch back to Varsita , the dropdown doesn't work.
Can you please fix Varsita so that it loads bootstrap.min.js properly?
Thanks