Jump to content

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

Recommended Posts

Posted

Site URL: http://www.brentstirton.com/

Hi, 

I am working with a trial page of the wells template and am having issues with large captions. I saw Brent Stirton's page and saw his caption button layout, so i'm asking if anyone knows how to code for this. 

Thanks. 1204691279_ScreenShot2021-08-18at6_10_01PM.thumb.png.26f5e995ade6f5e91a43350db5f25cfe.png

  • Replies 7
  • Views 615
  • Created
  • Last Reply
Posted

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.  

Posted
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!)

  • 4 weeks later...
Posted

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?

 

Posted
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!)

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.