Topic: lightbox doesn't work when using Font Awesome Pro

Michael_Birch free asked 3 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 3 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



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: 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