Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: disable auto button generation in nav

KuebelElch15 pro asked 6 years ago


Hello,

I've found out that an anchor tag inside an undorderd list with the class "navbar-nav" gets automatically the class . waves-effect .waves-light applied. If I turn javascript off, it doensn't.

However, is it possible to disable this "feature"?

It destroyes my design on mobile.

 

Here is an example of how it will get reproduced:


<ul class="nav navbar-nav nav-flex-icons d-flex justify-content-end d-md-none">
<li class="mr-3 p-3 active">
<a href="/a">a</a>
</li>
<li class="mr-3 p-3">
<a href="/b">b</a>
</li>
</ul>

Marta Wierzbicka staff answered 6 years ago


Hi,

would you create a snippet presenting the problem here: https://mdbootstrap.com/snippets/? And point out what is wrong in the navbar? I'll try to help you.

Best,

Marta



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.15
  • Device: all
  • Browser: all
  • OS: all
  • Provided sample code: Yes
  • Provided link: No