Topic: new icons syntax / mdb version 7.2
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 2 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 2 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.
Resolved
- User: Pro
- Premium support: No
- Technology: Angular
- MDB Version: 7.0.0
- Device: pc
- Browser: chrome
- OS: w10
- Provided sample code: No
- Provided link: No