Topic: How to remove waves effects from dropdown menu
Hi, how can i remove waves effect and waves-light from dropdown menu?
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']);
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
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