Jump to content

Center Captions in Gallery Image

Recommended Posts

Hello! Newbie at Squarespace here! I would love some tips on how to center the caption on these images that were uploaded as a gallery block. I found this CSS code but it says I need to target the caption only and I am not sure how to do that.

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

Screen Shot 2021-04-07 at 9.20.34 AM.png

Link to comment
  • Replies 5
  • Views 905
  • Created
  • Last Reply
On 4/9/2021 at 1:33 AM, SquareNewbie said:

Hello! Newbie at Squarespace here! I would love some tips on how to center the caption on these images that were uploaded as a gallery block. I found this CSS code but it says I need to target the caption only and I am not sure how to do that.

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

Screen Shot 2021-04-07 at 9.20.34 AM.png

Please share your site url to help

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
9 minutes ago, SquareNewbie said:

Hello! It's currently private but you can access it at

https://www.volunteerlandingmarina.com/

Password:TNEdit123

where is the page with the gallery section

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 4/12/2021 at 8:47 PM, SquareNewbie said:

The gallery section is in both the Amenities/Meet the Team Section. 

This is where the screenshot was taken. 

https://www.volunteerlandingmarina.com/our-amenities

Add to Design > Custom CSS

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

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.