Jump to content

Summary Wall Block - Title on hover 7.1

Recommended Posts

Posted (edited)

Site URL: https://graphicstructures.squarespace.com/

I have successfully added a hover over effect on my blog masonry layout - https://graphicstructures.squarespace.com/projects (pass: preview)

I now want to replicate the same effect on the homepage https://graphicstructures.squarespace.com/ (pass: preview) using the summary wall block. I am a bit stuck, can someone help? The code I am using for the blog is below:

 

.blog-masonry .blog-item-summary {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: all .3s ease;
    height: 100%;
}


.blog-masonry .masonry-ready .entry.is-loaded:hover .blog-item-summary {
  	cursor: pointer;
    opacity: 1;
    transition: all .3s ease;
  z-index:100;
}

.blog-masonry .masonry-ready .entry.is-loaded:hover img {opacity: 0.9;}

.blog-masonry .blog-item-summary {
    display: flex;
    place-items: center;
    justify-content: center;
}

.blog-title {background-color: rgba(255,255,255,0);
color:#000 !important;}


.blog-title a:after {
  content:'';
  width: 100vw;
  height: 100vh;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);

}
.blog-item-summary {
  overflow:hidden;
}

.blog-item-content-wrapper

{
  margin-left:-15px !important;
 margin-right:-15px !important;
}

 

Edited by AltitudeDesign
  • Replies 3
  • Views 414
  • Created
  • Last Reply

Top Posters In This Topic

Posted
On 4/22/2022 at 3:26 PM, tuanphan said:

Hi,

I see you solved this?

Sadly not, sorry the links are the wrong way around above. The summary block is now on the projects page. Can you help me at all?

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.