Topic: Last menu item active?
Danny priority asked 3 years ago
Hi,
The last menu item is active on all the dashboard snippets, and we cant change it, take a look at: https://mdbootstrap.com/snippets/standard/mdbootstrap/2515374
Grzegorz Bujański staff answered 3 years ago
In this snippet all elements have empty href attribute. Sidenav has implemented the functionality of adding an active class to an element that has an href corresponding to the page you are on. Just add page url and # in elements that will not redirect to another page.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Priority
- Premium support: Yes
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: Laptop
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: Yes