is it possible to change on active color for MDBNavItem?


Topic: is it possible to change on active color for MDBNavItem?

unhukd asked 4 years ago

Expected behavior

Actual behavior

Resources (screenshots, code snippets etc.)


Piotr Glejzer staff commented 4 years ago

you can overwrite a classname of active class when the link is active to change color


Yes use your inspector in freeze the DOM when the link is active you can see the class .active now if you import a separte sheet just for that page it will then be available to modify or override in the stylesheet then you can style .active how ever you want for that 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
  • User: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.27.0
  • Device: Web
  • Browser: Chrome
  • OS: Catalina
  • Provided sample code: No
  • Provided link: No
Tags