lightbox doesn't work when using Font Awesome Pro


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

Michael_Birch pro premium priority asked a year 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 a year 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
  • User: Pro
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: 3.2.0
  • Device: Any
  • Browser: Any
  • OS: Any
  • Provided sample code: No
  • Provided link: No