Left Align Caption When Lightbox Is Open #718
manek43509
started this conversation in
General
Replies: 2 comments 2 replies
|
Hi, Here is one possible solution: .fancybox__caption {
margin-right: auto;
}https://jsfiddle.net/c7gh48q9/ Another option would be to make it 100% wide: .fancybox__caption {
width: 100%;
} |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
I am trying to align the caption which displays when the lightbox opens and the image displays large. I have added CSS using the attribute
.fancybox__captionand I know this is the right class to use because other changes I have made (ie. font size and weight) display correctly, but.fancybox__caption { text-align: left; }does nothing. Any ideas why this is?All reactions