Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Lightbox-UI and Font Awesome 5

Andrew Buccellato pro asked 6 years ago


Does anyone know a quick fix for the upgrade to Font Awesome 5 (icons in the lightbox UI don't work if you use the SVG JS version of Font Awesome Pro)?  I just realized looking back at my code that is the only thing that is different in the basic HTML template online then the live NodeJS version.

Bartłomiej Malanowski staff commented 6 years ago

Could you please share your code with us?

Ollie Vincent pro commented 6 years ago

FontAwesome 5 comes with a shim.js file that doesn't break FontAwesome 4 icons

Andrew Buccellato pro answered 6 years ago


  <!-- Font Awesome -->
 <script defer src="assets/js/fontawesome-all.min.js"></script>
 <script defer src="assets/js/fa-v4-shims.min.js"></script>
The only thing I can think of is that I am missing something with the versions. I just noticed that on the website, but since I am hosting it locally that shouldn't be an issue.  All lightbox code is copied directly from the example as a test

Bartłomiej Malanowski staff commented 6 years ago

Do you get any console logs with that code?


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: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags