Caption alignment
-
Hi. I need to globally change the caption alignment for galleries to left instead of center. I was able to find an old support post with the following:
.mg-thumbs.mg-twocol ul li p.caption.below {
text-align: center;
}I changed ‘center’ for ‘left’ and inserted it in my theme’s custom CSS section and it worked. However, the left alignment is not active anymore when the image is opened in lightbox (it is centered). How can I get the lightbox caption to be left aligned?
Also, for the alignment change I did to .mg-thumbs.mg-twocol, I assume this will only apply to two column layouts. Is there a way to apply a left alignment globally for captions? If not, could you please provide the names for all the different column layouts that I need to modify?
Thanks in advance!
- The topic ‘Caption alignment’ is closed to new replies.