new icons syntax / mdb version 7.2


Topic: new icons syntax / mdb version 7.2

herve pro asked 6 years ago

Good morning

I have installed the 7.2 version of mdb, but the new syntax to use icons doesn't work. if i use <i class="fab fa-500px"></i> nothing is displayed if i use <mdb-icon fab icon="fa-500px"></mdb-icon> I only have a small box caracter.

thanks for your help


wjhanna pro answered 6 years ago

The documentation is wrong, remove the leading fa- for the icon and it should work. I.E. <mdb-icon fab icon="500px"></mdb-icon>instead of <mdb-icon fab icon="500px"></mdb-icon>


Arkadiusz Idzikowski staff answered 6 years ago

The new syntax with fas, far or fab directives was added in version 7.3.0 and can be only used for font awesome 5.


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
  • User: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 7.0.0
  • Device: pc
  • Browser: chrome
  • OS: w10
  • Provided sample code: No
  • Provided link: No
Tags