Jump to content

Overlay text in footer summary block

Recommended Posts

  • Replies 4
  • Views 298
  • Created
  • Last Reply

Top Posters In This Topic

On 3/8/2023 at 7:02 AM, afinocchiaro said:

Add this to Design > Custom CSS. This will make text + overlay appear when hovering. If you want it always appears, let me know, we will adjust the code

div#block-yui_3_17_2_1_1677942314003_28648 {
.summary-content.sqs-gallery-meta-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    text-align: center;
    transform: translate(-50%,-50%);
    opacity: 0;
    z-index: 999;
}
.summary-title {
    text-align: center !important;
}
.summary-title a {
    font-family: ltc-bodoni-175;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
    letter-spacing: .01em;
    line-height: 1.2em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(0,0,0,.5);
}
.summary-thumbnail-outer-container:after {
    content: "";
    background: rgba(255,255,255,0.75);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s;
}
.summary-item:hover .summary-content.sqs-gallery-meta-container {
    opacity: 1;
}
.summary-item:hover .summary-thumbnail-outer-container:after {
    opacity: 1 !important;
    transition: all 0.3s;
}}

image.thumb.png.aff941148429a59b6909bfae7b768f08.png

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.