I have a problem with the big/detail view of the lightbox element.
The image isn’t centered and the width doesn’t behave responsive… so it gets cut off when the screen is too small.
I noticed that the image doesn’t react when I enter a width in the image settings either.
If I type in a width it just doesn’t gets smaller (but it works with the height).
Maybe my problem has to do something with that?
I also checked if I changed something in the All Images Tag, but I couldn’t find anything.
But if I create a totally new project, everything works fine.
Looks like you styled the base figure element INSIDE A RICH TEXT ELEMENT (with no class) and Webflow uses a figure element in the lightbox. So the lightbox image inherits the custom css you defined. You should have added a class to the rich text element and then styled descending elements like a figure element, to avoid these kinds of issues.
I probably did that by accident, I normally give everything a class. I could delete it without it changing anything in my rich text fields. And now the Lightbox is working
Really, thanks a lot! I knew it just had to be a small, dumb mistake
Ok, unfortunately, it doesn’t fix the problem completely.
Now the image gets distorted on a smaller screen. I tried out a few things and couldn’t find the problem, again. I would be grateful if you could take another look at it!