Skip Navigation

[Resolved] Multiple "X" close button display in lightbox

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 1 year, 1 month ago.

Assisted by: Waqar.

Author
Posts
#2653283
Screenshot-2023-10-16-at-17.48.08.jpg
Screenshot-2023-10-16-at-17.44.39.jpg

Hi !

I have an issue of multiple display of the "X" to close the Lightbox. It's adding automatically a "X" every 2 seconds or so...
Could you please take a look and provide a solution ?

Thanks a lot,

Fabrice

#2653553

Hi Fabrice,

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

I've seen a similar case recently on another website and including some custom CSS code worked to hide those extra close buttons.
( this seems to happen when some script and styles optimization plugin is active )

You can include the following custom CSS code in the view block's settings:


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

I hope this helps and let me know how it goes.

regards,
Waqar