Jump to content

Vertically center image caption on hover

Recommended Posts

Hi all!

I am trying to alter the hover state of an image caption by increasing the colored band to cover the full image on hover, and vertically and horizontally align the image caption text. I was able to get the colored background to cover the full image, and center the text horizontally, but I cannot get the vertical alignment to budge! Any ideas on what line of code I need to change??

Basically I want it to function like the hover states on this template...: https://www.squarespace.com/templates/?template=flatiron

...But this is the page I am working on: http://www.mollypetroski.com/portfolio

Thank you!

Link to comment
  • 2 months later...
  • Replies 3
  • Views 1.8k
  • Created
  • Last Reply

Helllo Everyone,

i was very confused to make gallery and images with the effects then i concern with the very professional web developer that helps me as more as i need. Try to contact with them if you have any issues in your website

Thanks

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.