Jump to content

Gallery text overlay shows up left centered

Recommended Posts

  • Replies 1
  • Views 375
  • Created
  • Last Reply
37 minutes ago, charlineca said:

Site URL: http://sitestudiodesign.com

Hi, I have a client site where I have used custom CSS to create a gallery overlay with text. When I look at the site homepage on a mobile device the pop up text over the images with a longer name only shows up as left justified,
I don't know how to get this centered like all the other text? See picture attached.

WhatsApp Image 2021-04-01 at 13.53.49.jpeg

tried to fix it using custom css in Design->Custom CSS

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

image.thumb.png.8cd714569603aaf681e32bb39a7fb141.png

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

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.