Whenever an image is clicked, it opens in the Nivo lightbox. This feature used to work flawlessly, but recently, it seems to be experiencing issues. The image should be centered and resize responsively to stay in the center. (For example, it worked correctly here: )
All of a sudden, this functionality is not working as expected. I upgraded from v1.0 to v1.2 of the .js library for the lightbox, but even reverting back did not resolve the issue. It appears that there may be some CSS or theme changes causing the problem with the lightbox?
I have also noticed scrollbars appearing when the screen is resized to a smaller size, which should not be happening.
I came across a rule that, when hidden, seemed to affect the alignment of the images, but I'm struggling to find a solution to fix all the issues I am encountering:
.nivo-lightbox-effect-slideLeft.nivo-lightbox-open .nivo-lightbox-wrap,
.nivo-lightbox-effect-slideRight.nivo-lightbox-open .nivo-lightbox-wrap {
transform: translateX(0px);
}