Jump to content

Lightbox not loading properly

Recommended Posts

Site URL: https://www.imyeg.com/council-of-founders


I have used this code to create lightboxes on this page for people's bios:

<link href="//cdn.rawgit.com/noelboss/featherlight/1.4.0/release/featherlight.min.css" type="text/css" rel="stylesheet" />   <script src="//code.jquery.com/jquery-latest.js"></script> <script src="//cdn.rawgit.com/noelboss/featherlight/1.4.0/release/featherlight.min.js" type="text/javascript" charset="utf-8"></script></link>

However, it often takes a long time for the content in the lightbox to load when clicking on the photos / names of the individuals (just showing a white box with no content in it). After clicking out of the box and re-opening it a few times, the content sometimes loads, but it is not ideal. Here is an example: 


I was wondering if there is a way to avoid this?

Thank you!

Edited by elbarrad
Link to comment
  • Replies 2
  • Views 303
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.