Image zoom background color without transparency

Hi,
I already asked about this option (twice) in previous versions of Tainacan, and you helped me. I know where to change color of the background when zooming the image, but you provided me with some aditional CSS to completly disable transparency. Now, something in 0.19 version has changed so CSS is not working any more for that transparency thing. This is link to old CSS that worked:

Is there any way to disable the transparency of the background completly (again) when zooming the image?

You can check it here - https://zbirkaleko.dad.hr/24-zeljeznica/2419.jpg . When you click on the image, it goes to zoom mode but you can see the text and everything in the background.

tnx

Vedran

Uhmm, We’re sorry that the change happened, we had to update the Photoswiper library after a major refactor that they did and this in fact means breaking css changes. It shouldn’t be something that would happen often. I’ll try to write again the css for you.

One day if I find time I’ll take a moment to create this option hehe. So first, go to your customizer and remove the previous CSS that I gave to you. Then, add the following:

.tainacan-photoswipe-layer .pswp__bg {
    opacity: 1.0 !important;
}

Notice that it is relativelly less code. That’s because making it white is now an option. You can go to the customizer → Your collection item options → Document and Attachments → Design Tab → scroll down till you find the lightbox color option. Set it to light.

Let me know if this solves!

It works…BUT…the lightbox color option is back to black, although I’ve set lightbox color option to LIGHT.

I’ve checked the old CSS and added one other line from that old snippet that seemed logical

.tainacan-photoswipe-layer .pswp__bg {
background-color: rgba(255, 255, 255, 1);

Now it is working, it there some other way?

And there are two more things I can not solve, (If it is better to make a new topic, I can)

1, I would like to remove the caption at the top of the screen when I’m in the zoom mode

  1. How can I remove this METADATA title

Uhmm I’ll check what is wrong with that, may be a bug.

If I am not wrong, there is an option in the customizer settings, that allows you do hide the image title in the lightbox. Could you try that?

Previously, this label was handled by themes. Now in 0.19 we have the possibility of having multiple metadata sections. Every metadata starts in the “default section” named “metadata”. So if want to change the name, you should go to your Collection’s Metadata page and edit the default metadata section name. You can leave it empty (I just checked that we are indicating that it is required, but is an error).

On a side note, if you are not seeing the Pencil icon for editing the default section, this is a capabilities issue that I found about last evening. Please tell me if this is the case (in a new topic, preferably), cause we have a temporary solution while that is not fixed.

Uhmm there is definitely a bug with that gallery settings, I’m checking here if this is on the Tainacan side or in the Tainacan support for Blocksy side. :thinking:

I’ll create a new topic, tnx :slight_smile:

Hey can you try updating to version 0.1.17, which I just released? I believe it should to the trick: