Jump to content

Gallery Captions Not Showing On Mobile

Recommended Posts

  • Replies 9
  • Created
  • Last Reply

Top Posters In This Topic

22 hours ago, josefresan said:

Site URL: https://www.yolandashashaty.com/

Hi,

I'm working on this website for a client and have a question for the gallery section. 

The gallery has a built-in caption in hover but it's not showing on mobile. Is there a way or a code you can share to make the caption show in both mobile and desktop?

Thank you!

Screen Shot 2022-02-22 at 11.04 copy.jpg

Kindly try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  .sqs-lightbox-open .overlay-description-visible {
    bottom: 0 !important;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

My testing

image.png.a9bd62e5702f1c21a2ddf33de2856425.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
On 2/23/2022 at 10:08 AM, bangank36 said:

My testing

image.png.a9bd62e5702f1c21a2ddf33de2856425.png

Thank you! That worked perfectly!! 

Is there a way to do the same in the desktop version? So instead of having the caption as hover it appears static underneath the image?

Thank again for you help!

Link to comment
On 3/1/2022 at 7:32 AM, josefresan said:

Thank you! That worked perfectly!! 

Is there a way to do the same in the desktop version? So instead of having the caption as hover it appears static underneath the image?

Thank again for you help!

Use this new code

.yui3-lightbox2 .sqs-lightbox-meta {
    opacity: 1 !important;
    background: rgba(0,0,0,.7) !important;
}
@media only screen and (max-width: 767px) {
  .sqs-lightbox-open .overlay-description-visible {
    bottom: 0 !important;
  }
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
On 3/3/2022 at 6:48 AM, tuanphan said:

Use this new code

.yui3-lightbox2 .sqs-lightbox-meta {
    opacity: 1 !important;
    background: rgba(0,0,0,.7) !important;
}
@media only screen and (max-width: 767px) {
  .sqs-lightbox-open .overlay-description-visible {
    bottom: 0 !important;
  }
}

 

Thanks, is there a way the static caption could be underneath the image not on top of it? 

https://www.yolandashashaty.com/abstractpainting/2p8qzithnu2s2g7nu79456b3s0ku3q

Thank you!

Link to comment
On 3/7/2022 at 9:37 PM, josefresan said:

Thanks, is there a way the static caption could be underneath the image not on top of it? 

https://www.yolandashashaty.com/abstractpainting/2p8qzithnu2s2g7nu79456b3s0ku3q

Thank you!

It looks like you figured it out? I see caption under image now

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
17 hours ago, josefresan said:

It's working on mobile but on desktop it's still shwoing as a overlay on top of the image

Try adidng to Design > Custom CSS

.yui3-lightbox2 .sqs-lightbox-meta {
    opacity: 1 !important;
    bottom: 0 !important;
}

 

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.