I have the same issue! The code works how i'd like it to, but the second I save and click away it disappears.
My URL is: https://banjo-manatee-6wnp.squarespace.com/
Password: RFCreative1
Here's the code I'm working with:
.gallery-caption {
position: absolute;
top: 0;
left: 0;
background: rgba(0, 92, 93, 0.9); /* overlay color */
height: 100%;
max-width: unset;
padding: 0;
opacity: 0;
}
.gallery-caption-wrapper {
display: flex;
align-items: center; /* center vertically */
justify-content: center; /* center horizontally */
}
.gallery-caption-content {
font-size: 2rem !important; /* caption font size */
color: white; /*caption font color */
}
.gallery-grid-item {
position: relative;
}
.gallery-grid-item:hover .gallery-caption {
opacity: 1;
}
.gallery-caption-grid-simple {
transition-delay: 0ms;
}