Jump to content

Centering Captions on Gallery Images

Recommended Posts

  • Replies 2
  • Views 230
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

add this to your sites custom css (if you want it to happen for all galleries). 

p.gallery-caption-content { text-align:center; }

if you want to just do it on that page then wrap the same code in <style> blocks and put it either in the page header (needs business/premium plan) via the Advanced section of the page settings, or put it in a code block on the page.

<style>
p.gallery-caption-content { text-align:center; }
</style>

 

Dave Hart. Software/Technology Consultant living in London. buymeacoffee 

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.