Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Lightbox Anything summary block


JButler

Question

I'd like to use the Lightbox Anything plugin to display some speaker bios, instead of having them click through to their individual pages.

Is it possible to add the lightbox to a summary block, without having to replace all the source URLs individually for each post?

Is it also possible to use the lightbox anything plugin for a URL such as /speakers/speaker-name? This doesn't seem to work for me.

Thanks!

Link to comment

5 answers to this question

Recommended Posts

  • 0

Hi. Have you found the solution yet?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0
9 hours ago, tuanphan said:

Hi. Have you found the solution yet?

Hey Tuan. I haven't yet – still looking!

I've been able to get the lightbox to work for summary objects using #lightbox_http://www.url.com/speaker/speaker-name

There are two issues with this:

1. It means I have to replace the source URL for every speaker and I have lots of them – it would be ideal if I could automate the blog post to open in a lightbox automatically for each.

2. It opens the entire page in the lighbox including the footer and header. I want a couple of few blocks to display in the lightbox. Is this possible or would I be best trying to hide the header and footer on every blog post?

Thanks!

Link to comment
  • 0
On 4/20/2021 at 12:31 AM, JButler said:

Hey Tuan. I haven't yet – still looking!

I've been able to get the lightbox to work for summary objects using #lightbox_http://www.url.com/speaker/speaker-name

There are two issues with this:

1. It means I have to replace the source URL for every speaker and I have lots of them – it would be ideal if I could automate the blog post to open in a lightbox automatically for each.

2. It opens the entire page in the lighbox including the footer and header. I want a couple of few blocks to display in the lightbox. Is this possible or would I be best trying to hide the header and footer on every blog post?

Thanks!

1. You can contact Sqspthemes support. They usually reply within 24 hours.

2. We can use CSS to hide header, footer on lightbox. Can you share link page where you add summary?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care - Learn CSS - Custom Popup - Testimonial Slider

I'm Tuan, blogger/owner of a free library for children in Vietnam. Helping the community is a hobby. Contact me via email.

Link to comment
  • 0

Thanks Tuan. Sqspthemes provided me with a script that work's for the entire summary block:

window.Squarespace.onInitialize(Y, function(){
  openBundleLinksInLightbox('.summary-title[href]:not(.lightbox-link),.summary-title-link[href]:not(.lightbox-link),.summary-read-more-link[href]:not(.lightbox-link),.summary-thumbnail-container[href]:not(.lightbox-link)');

I'm using Lazy Summaries with this plugin though, and annoyingly the lightbox only seems to work for the first 30 posts in my summary and not those loaded by the Lazy Summaries plugin. Is there an obvious way I could get this script to read all the posts in my summary and include those that Lazy Summaries have included?

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...