carys_ink Posted October 1, 2014 Posted October 1, 2014 How can I centre captions (rather than justify left) underneath an image/image block?Am using the Supply template. Thanks!
meg2013 Posted October 3, 2014 Posted October 3, 2014 Did you ever figure this out? I would also love to know! I figured out how to change the font but not the alignment.
carys_ink Posted October 5, 2014 Author Posted October 5, 2014 For anyone else looking to do the same, this is the code that worked for me. Paste into Page Header Code Injection (you may not need the font size/line-height bit) <style> .sqs-block-image .image-caption p, .sqs-block-image .sqs-image-caption p { font-size: 14px; line-height: 1.68em; text-align: center; } </style>
thesilverpixel Posted March 5, 2017 Posted March 5, 2017 This is great! Thank you! Learning code as I go. Glad to share what I learn :)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.