Topic: How to remove waves effects from dropdown menu

demzl25 priority asked 6 years ago


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

Bartłomiej Malanowski staff commented 6 years ago

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

demzl25 priority commented 6 years ago

dropdown toggle


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 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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags