Topic: new icons syntax / mdb version 7.2
herve pro asked 5 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
Arkadiusz Idzikowski staff answered 5 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.
wjhanna pro answered 5 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>
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 7.0.0
- Device: pc
- Browser: chrome
- OS: w10
- Provided sample code: Yes
- Provided link: No