Jump to content

saylinds

Circle Member
  • Posts

    20
  • Joined

  • Last visited

Posts posted by saylinds

  1. 17 hours ago, tuanphan said:

    Add to Home > Design > Custom CSS

    
    /* Gallery hover */
    body#collection-5fb43137d46bfe51eacdc245 {
    .slide:hover .image-slide-title {
        opacity: 1;
    }
    .slide:hover a:after {
        opacity: 1;
    }
    .slide a:after {
        content: "";
        background: rgba(0,0,0,0.5);
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        opacity: 0;
    }
    .image-slide-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        width: 100%;
        text-align: center;
        opacity: 0;
        transition: all 0.5s;
        color: white;
    z-index: 10000;
    }
    .slide a:after {
        content: "";
        background: rgba(0,0,0,0.5);
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        opacity: 0;
    }
    .slide:hover a:after {
        opacity: 1;
    }
    .slide:hover .image-slide-title {
        opacity: 1;
    }
    }

     

    Thank you so much!

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