carys_ink Posted October 1, 2014 Share Posted October 1, 2014 How can I centre captions (rather than justify left) underneath an image/image block?Am using the Supply template. Thanks! Link to comment
meg2013 Posted October 3, 2014 Share 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. Link to comment
carys_ink Posted October 5, 2014 Author Share 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> Link to comment
Guest Posted May 1, 2016 Share Posted May 1, 2016 This is spot on. Thank you. Saved the day!!! Link to comment
macbeth Posted March 4, 2017 Share Posted March 4, 2017 Thank you! Worked well for me too. Link to comment
thesilverpixel Posted March 5, 2017 Share Posted March 5, 2017 This is great! Thank you! Learning code as I go. Glad to share what I learn :) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.