Topic: mdb-navbar set if of navbarCollapse
I'm using 2 mdb-navbar in the same page. Each navbar generate this element:
<div class="navbar-collapse collapse" id="navbarCollapse" style="height: 0px;">...</div>
So I have 2 div element in this page with the same id.
It's possible to set custom id for this element?
Hi. You can change the id using the
<mdb-navbar collapseId = "yourId" SideClass = "navbar navbar-expand-lg navbar-dark indigo"> ... </mdb-navbar>
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 10.0.0
- Device: PC
- Browser: Chrome
- OS: Windows
- Provided sample code: No
- Provided link: No
- how to make multi column navbar with columns of different heights and different categories that could be under the same column