Topic: Removing the caret icon on dropdowns

Peshraw Hiwa free asked 5 years ago


Hi,

I searched and could not find any way for removing the caret icon on the dropdown toggle component. 

Is there any way to achieve that?


Mikołaj Smoleński staff answered 5 years ago


Hi there,

Please add the following style code to Your page:

<style scoped>
.dropdown-toggle:after {
display: none;
}
</style>

Best Regards


free commented 3 years ago Edit Delete

Thank you for this


Marta Wierzbicka staff answered 5 years ago


Hi,

remove .dropdown-toggle class.

Best,

Marta


Peshraw Hiwa free commented 5 years ago

Hi there is no .dropdown-toggle class on the component 

<mdb-dropdown tag="li" dropleft class="nav-item">
<mdb-dropdown-toggletag="a"class="rounded"navLinkcolor="info"slot="toggle"waves-fixed><iclass="fa fa-user"></i></mdb-dropdown-toggle>
<mdb-dropdown-menudropleft>
<mdb-dropdown-item>Test</mdb-dropdown-item>
</mdb-dropdown-menu>
</mdb-dropdown>


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: Free
  • Premium support: No
  • Technology: MDB Vue
  • MDB Version: 4.8.2
  • Device: Desktop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No