Topic: how to remove waves effect on buttons with .btn class

Avinash Dv free asked 6 years ago

Need suggestion to remove the waves-effect on buttons by default, I have already gone through this but of no use. Any other way to do so

Marta Wierzbicka staff answered 6 years ago

Hi, if you comment this line in mdb.jsWaves.attach('.btn:not(.btn-flat), .btn-floating', ['waves-light']);, safe the file and minify it will work. If you don't minify mdb.js file, please remember to use in your index.html this script <script type="text/javascript" src="js/mdb.js"></script>. Best, Marta

webgenery free commented 4 years ago

This is not easier to add a class 'no-waves' and did something like that ? Waves.attach('.btn:not(.btn-flat):not(.no-waves)

Maybe add this in next version to avoid making manual changes in mdb.js

Marta Wierzbicka staff commented 4 years ago


thank you for your suggestion, we will think about it.

Best, Marta

Please insert min. 20 characters.


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



Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: Yes