I'm using this code to add Lightbox captions to my images, and it seems to work OK, but on mobile view the caption is pushed nearly out of frame, and does not appear under the image in a similar matter as on desktop. I'm using the 7.1 version
My website: https://dove-bumblebee-j2mp.squarespace.com
pw:thomas
Also, this code only works on gallery blocks, can it be applied to single image blocks? I'm very new to code, please be specific in your answer, thanks!