Topic: Custom Hover Colors For Dropdown Menu Item

TeddyS31 pro asked 6 years ago


So with the dropdown menu, I am unable to change the hover color to a specific color of my choosing in the scss file. I can only use the prefix classes from MDB. Am I missing something or can this not be changed at all? 

a .dropdown-item:hover {
color: $main-green;
}

Piotr Glejzer staff commented 6 years ago

Hi,

you can overwrite our styles with your own styles. We share our colors in _colors.scss and you can use these variables at your project or you can write your own variables in _custom-style.scss or create your own file. You have to use gulp to compile everything properly.

Video for check --> https://streamable.com/ym4yx

or is a problem with something different? 

Best,

Piotr 



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.10
  • Device: Macbook Pro 13
  • Browser: Chrome
  • OS: Mac OS X Mojave
  • Provided sample code: Yes
  • Provided link: No