Jump to content

Caption Multi-line in masonry gallery

Recommended Posts

Site URL: https://www.etiennemellor.com/gallery-4

Hello,

I would like to re-create the effect of the image below using CSS. 

Title in caps and underneath the Name.

Any help would be appreciated. 

 

Right now I'm using this code: 

.gallery-caption p{color:white ; font-size:30px!important; font-family:"serif"!important;letter-spacing:.3pt!important;font-weight:100; font-style:normal;margin-left:3em!important}
.gallery-caption {margin-top:-20%; opacity:0!important}
.gallery-masonry-item:hover 
.gallery-caption {opacity:1!important; transition-duration:0s}

Thank you so much 🙂

Screen Shot 2020-09-17 at 12.57.29 PM.png

Link to comment
  • Replies 3
  • Views 463
  • Created
  • Last Reply
On 9/25/2020 at 2:00 AM, mmellor said:

sorry about that. here it is: https://www.etiennemellor.com/mellor-group

 

Try edit title to this

Quote

Jessica Maisonneuve <span>Line 2</span>

then add this to Home > Design > Custom CSS

p.gallery-caption-content span {
    display: block;
}

 

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

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.