Jump to content

Align center for image captions on a blog page

Recommended Posts

10 minutes ago, Aurora said:

It's currently not possible to center-align captions for images on a blog post (that I'm aware of).

It's possible. You can do it on the text properties that pops up when you're editing the text or by using the keyboard shortcut CTRL+SHIFT+E

If you want to do it on all captions, you can use this Custom CSS:

.image-caption {
  text-align:center;
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
On 9/12/2024 at 5:21 PM, Ziggy said:

It's possible. You can do it on the text properties that pops up when you're editing the text or by using the keyboard shortcut CTRL+SHIFT+E

If you want to do it on all captions, you can use this Custom CSS:

.image-caption {
  text-align:center;
}

@Ziggy I'd prefer to use the text editor on each individual image, but I can't find it. See my screenshot. Am I missing something?

Your code works!

Bildschirmfoto 2024-09-12 um 17.58.55.png

Edited by Aurora
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.