How to remove waves effects from dropdown menu


Topic: How to remove waves effects from dropdown menu

demzl25 pro premium priority asked 7 years ago

Hi, how can i remove  waves effect and waves-light from dropdown menu?

Bartłomiej Malanowski staff pro premium commented 7 years ago

Do you want to remove them from dropdown toggle or dropdown item?

demzl25 pro premium priority commented 7 years ago

dropdown toggle

Bartłomiej Malanowski staff pro premium answered 6 years ago

Please go to mdb.js file. Find the Waves part an uncomment the line Waves.attach('.btn:not(.btn-flat), .btn-floating', ['waves-light']);. This one allow you to remove Waves from the .btn class (dropdown toggle). If you want to keep the waves for buttons that are not a dropdown toggle, you should modify this line a little bit like this: Waves.attach('.btn:not(.btn-flat):not(.dropdown-toggle), .btn-floating', ['waves-light']);

demzl25 pro premium priority commented 6 years ago

Thanks

Please insert min. 20 characters.

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: Yes
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No