Topic: Mutliple dropdown menu colors
jouvrard pro asked 6 years ago
jouvrard pro answered 6 years ago
Piotr Glejzer staff commented 6 years ago
No problem! If you want have danger color when dropdown is being activated by the user you can add one more code!.dropdown-danger:hover,
.dropdown-danger:active {
background-color: #FF3547 !important;
}
Have a nice day!
Piotr Glejzer staff answered 6 years ago
.dropdown-danger:hover {
background-color: #FF3547 !important;
}
and your HTML
<div class="dropdown-menu dropdown-menu-right shadow" aria-labelledby="navbarDropdownMenuLink-5">
<a class="dropdown-item waves-effect waves-light dropdown-primary" href="#">
<i class="fal fa-address-card fa-fw mr-2"></i> Mon compte </>
<a class="dropdown-item waves-effect waves-light dropdown-danger" href="#" data-toggle="modal" data-target="#ModalDeconnexion">
<i class="fal fa-power-off fa-fw mr-2"></i> Déconnexion </a>
</div>
Is that resolve your problem?
Best,
Piotr
jouvrard pro answered 6 years ago
Start your code here
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 6 years ago
Hi jouvrard, I think so. But can you show me your code? It will be more faster to modify your code. Best, Piotr