is it possible to change on active color for MDBNavItem?


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

unhukd pro asked 1 months ago

Expected behavior

Actual behavior

Resources (screenshots, code snippets etc.)


Piotr Glejzer staff commented 1 months ago

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


Alec Mingione pro premium answered 1 months ago

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.
Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: React
  • MDB Version: 4.27.0
  • Device: Web
  • Browser: Chrome
  • OS: Catalina
  • Provided sample code: No
  • Provided link: No
Tags