Topic: Last menu item active?

Danny priority asked 3 years ago


The last menu item is active on all the dashboard snippets, and we cant change it, take a look at:

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.

Please insert min. 20 characters.


Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.



Specification of the issue

  • 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