Jump to content

How to make captions appear on mobile version?

Recommended Posts

Hi! Just noticed that the mobile version of the site I'm working on doesn't display the captions that appear with the images in the gallery pages. For instance, https://www.lindasaccoccio.com/2020-2021 shows the captions with every image on PC, however, when you view it on a phone, the captions go away. I'd like to have the captions showing all the time across all platforms. Is there some way I can alter the code to make them appear on mobile like they do on the PC? Or is there a simpler, code-less solution? Thanks in advance.

Link to comment
  • Replies 3
  • Views 239
  • Created
  • Last Reply

Top Posters In This Topic

Add to Design > Custom CSS

/* 7.0 Gallery caption mobile */
@media screen and (max-width:900px) {
    .sqs-gallery-block-slideshow .slide.loaded .meta * {
        color: white !important;
    }
	.sqs-gallery-block-slideshow .slide.loaded .meta {
    display: block !important;
    left: 0 !Important;
   bottom: 0px !important;
    width: 100% !Important;
max-width: 100% !important;margin-left: 0 !important;}
.sqs-gallery-block-slideshow .meta .meta-title {
    line-height: 20px !important;
}
.meta-inside {
    padding-top: 0 !important;
}
.sqs-gallery-block-slideshow .slide.loaded .meta {
    height: auto !Important;
}}

 

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
  • 2 weeks later...
On 4/22/2023 at 2:25 AM, WA-Admin said:

@tuanphan Thanks for the solution! That worked! Is there a way though to make the captions appear below the image in black? The way it is now, the captions are white and on top of the image, making it a little hard to read. Thank you!

14618.jpg

Change white to black

image.thumb.png.1a06ca1bddb754fd663eb2ad19da1418.png

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

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.