Jump to content

Align image titles on rollover

Recommended Posts

Site URL: https://corn-apricot-zn88.squarespace.com/

PW is BA47.

 

I have a rollover effect on the people page that I like, BUT whenever someone doesn't have a title, their name is not as far up the block as someone who does - look at people - Lorne vs Kathy, for example. I have tried to move the  name/description with CSS, but they seem to be related to each other position wise.

 

Is there anyway to make the position of the name (title) and then the role (description) so they align horizontally regardless of how many lines it is? 

 

 

Link to comment
  • Replies 2
  • Views 229
  • Created
  • Last Reply

Absolute position may helps

To add CSS, go to Design -> Custom CSS
 

.white .sqs-block-summary-v2 .summary-title {
  position: absolute;
  top: 40%;
}
.white .sqs-block-summary-v2 .summary-excerpt {
  position: absolute;
  top: calc(50% + 20px);
}

image.png.7eb51fcec7b648b15b79852abf1445c0.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.