Topic: lightbox doesn't work when using Font Awesome Pro
Michael_Birch asked 4 years ago
For the lightbox component icons don't show up if using Font Awesome Pro, they only work when using Font Awesome Free.
font-family needs to be font-family:Font Awesome\ 5 Pro,Font Awesome\ 5 Free;
Currently it only specifies Free.
Dawid Wajszczuk staff answered 4 years ago
Hi,
Adding data-font-awesome="pro"
to your lightbox component and linking your Font Awesome Pro CSS into your index.html
should help.
Keep coding,
Dawid
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Free
- Premium support: No
- Technology: MDB Standard
- MDB Version: 3.2.0
- Device: Any
- Browser: Any
- OS: Any
- Provided sample code: No
- Provided link: No