Skip Navigation

[Resolved] Lightbox not showing correctly

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Waqar 2 months ago.

Assisted by: Waqar.

Author
Posts
#2683607

I have an image gallery set to show the images in a lightbox when you click on them.

For some reason the lightbox is showing with a bunch of close 'X' symbols, pushing the image further down the page.

See example gallery below video on the right of the page here: hidden link

It seems to be looping through a bunch of images and choosing not to display them but still showing the close symbols for each of them. I can't work out why this is happening though.

Any ideas?

#2683716

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

We have an internal ticket open for this already. In certain cases, the gallery with the lightbox shows multiple close buttons.

I've added your voice to this matter and as a quick fix, you can include the following code in your view's custom CSS section:


#lightbox > .lb-dataContainer.tb-lb-dataContainer {
display:none !important;    
}
  
#lightbox > .lb-dataContainer.tb-lb-dataContainer:first-of-type {
display:block !important;    
}

This will make sure only a single close icon is shown at a time.

regards,
Waqar

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.