Jump to content

Image Overlay Caption - take up whole image

Recommended Posts

  • Replies 2
  • Views 162
  • Created
  • Last Reply

edit max-height: 100% !important; to this

max-height: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;

it should be

.image-caption-wrapper {
    background: #fff !important;
    opacity: .8 !important;
    text-align: center !important;
    transition: all .3s ease-in-out;
    max-height: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

 

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.