Topic: Navbar Hovered Item Color
Hello,
I want to modify your navbar's default background color for when the user hovers. The default hover background color is blue. Can you tell me how to modify it with CSS?
Thanks!
Add comment
Damian Gemza staff answered 7 years ago
Dear Verzea,
You have to overwrite .dropdown-item:hover class. To your component.scss file add this code:
Above code change your's .dropdown-item:hover to red.
Best Regards,
Damian
.dropdown.dropdown-menu .dropdown-item:hover { background-color: red; }
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Resolved
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No