Jump to content

Caption button for Wells Template like http://www.brentstirton.com/

Recommended Posts

  • Replies 7
  • Views 520
  • Created
  • Last Reply

Top Posters In This Topic

On 8/24/2021 at 5:14 PM, dcardelino said:

Sure, that works. I would like mine to pop above the photo like this, but if scrolling on what I have right now is all that works thats fine.  

Add to Design > Custom CSS

.collection-type-gallery.hide-meta .meta .slide {
    max-height: 90vh;
    max-height: -webkit-calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

 

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
  • 4 weeks later...
On 9/21/2021 at 9:30 AM, dcardelino said:

What about if I would like to hide the caption on mobile? like make a dot or button to make it optional instead of under the picture?

 

To hide on mobile, try this code

@media screen and (max-width:640px) {
.collection-type-gallery.hide-meta .meta .slide {
    display: none !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

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.