Need some margin gap between caption and image in the viewer #288
Answered
by
igordanchenko
Ashritha-12
asked this question in
Q&A
-
I am unable to add margin between caption and image in the viewer. Tried , with lightbox variables but dont think it supports. Reason: I need this because when the image name is long it just overlaps with the image and doesn't look good. Can someone help here ? |
Beta Was this translation helpful? Give feedback.
Answered by
igordanchenko
Jun 23, 2024
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
igordanchenko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm afraid that's not supported in the current version. The captions are implemented as overlays and are legible even when positioned right over an image.
You can increase
carousel.padding
value to avoid overlap, but that would add padding on all four sides of an image - not a margin that you are asking for.