Topic: Navbar Hovered Item Color
Verzea pro asked 6 years ago
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 6 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
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags