Jump to content

Gallery text overlay shows up left centered

Recommended Posts

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 format)
💫 Animated Buttons (Referral URL)
🥳 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

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.