Skip Navigation

[Resolved] Many close buttom while watching light box of galleries and small layout problem

This support ticket is created 2 years, 5 months ago. There's a good chance that you are reading advice that it now obsolete.

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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 2 voices.

Last updated by Luo Yang 2 years, 5 months ago.

Assisted by: Luo Yang.

Author
Posts
#2412815
2022-07-07.jpg
2022-07-07 (2).jpg
2022-07-07 (1).jpg

I am trying to:
Display light box normally.

Link to a page where the issue can be seen:
hidden link

I expected to see:
No close buttom and black screen in the back.

Instead, I got:
Two layers, the front layer is the image watching now, and the back layer is a black screen with multiple X buttom.
I have inserted codes found in other support ticket below, but it seems no working.
(when I didn't insert the codes, the back layer shows not only close buttoms but also an image which I start to view the gallery )

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

In addition, a small problem I found when editing:
If I have several gallery block in a post and using grid layout, I can't change the columns separately. For example, there are A, B, C three galleries in a post. I can set them all 3 columns, but I can't set A with 2 columns and B with 3 columns. I found a solution is that : I can set columns of A, and saving & exiting. Edit the post again and set columns of B. Leave and do the same thing, then edit C.

But I think it is a bug. So can you check this, too ?

Thanks!!

#2413029

Hello,

I assume we are talking about the images under "礁溪 21 號溫泉旅店", when I click one of those images, I see two lightbox popups.
It seems that your website are using two different kinds of lightbox for the images, there is another plugin/theme make another lightbox popup, please try to remove it, and test again.

You can compare our live demo of Toolset Galleryblock:
https://toolset.com/block-item/gallery/
You should be able to see only one lightbox popup when click the image.

Here is the document about Toolset
https://toolset.com/course-lesson/galleries-grid-masonry-collage-of-static-images-for-pages/

#2414889

Hi,

Sorry, I know how to use the gallery block. But I mean that there is a bug I can not handle. I checked my plug-ins and I don't find other gallery plug-ins. The only possible plug-in Jetpack did provide a gallery block function. But even disabling this plug-in, the bug still exist... And if the theme itself provide some gallery functions, how do I disable it ?

Thanks.

#2415133

I have tried again in your website be these steps:
1) Switch to WordPress default theme 2022, it works fine, click one of those image, it popup only one lightbox, and without any extra "Close" buttons, can you confirm it?
2) So it should be a problem of your theme files
For the question:
And if the theme itself provide some gallery functions, how do I disable it ?
It is out the range of Toolset support, I suggest you check it with your theme author for it, since you are using "soledad" theme, I have searched it in Google, found their support forum link:
hidden link