Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Sign in to follow this  
carys_ink

How to centre captions under an image?

Question

How can I centre captions (rather than justify left) underneath an image/image block?Am using the Supply template. Thanks!

Edited by sabri
retag

Share this post


Link to post

5 answers to this question

Recommended Posts

  • 2

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>

Edited by carys_ink

Share this post


Link to post
  • 0

Did you ever figure this out? I would also love to know! I figured out how to change the font but not the alignment.

Edited by meg2013

Share this post


Link to post
  • 0
Guest

This is spot on. Thank you. Saved the day!!!

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...