Topic: Disable waves effect on mask

diworm free asked 7 years ago

Hi! I want add flex-centered text on my paralax, I try to do this with mask:
<div class="view">
    <section class="parallax" id="section1"></section>
    <div class="mask flex-center">
        <p class="text-white">test</p>
And all ok, but after do this - when clicking I see waves effect. How I can disable waves effect on mask?

Xeevis pro answered 6 years ago

If you hate to make edits on libs you can use jquery $(".view .mask").removeClass("waves-effect waves-light"); In v0.8.0 waves lib will have Waves.detach if it ever gets released (#159)

Remove following code from your mdb.js file: Waves.attach('.view .mask', ['waves-light']);

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