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.



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

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