Jump to content

Hover effect on only one page

Recommended Posts

Posted

Site URL: https://caper-soybean-6mrk.squarespace.com/

I'm trying to get the page "test" to be the only page with a hover effect on the image blocks. 

I've managed to do the hover effect, but right now it's not contained to my "test" page, but it's applied to every image block on my site. 

I've tried to use the ID of the "test" page (or what I think is the ID), but it doesn't seem to work - Can someone help me with what I'm doing wrong? 

Page: https://caper-soybean-6mrk.squarespace.com/

Password: csshelp

This is the CSS-code I'm using:

#page-5e30278f39c8eb7ff9ec4ad1
.sqs-block-image:hover { brightness: 100%; transition: .6s; cursor: pointer;}
.sqs-block-image:hover img { filter: brightness(0.7); transition: .3s;}
.sqs-block-image:not(:hover) 
.image-card-wrapper { display:none;}
.image-title.sqs-dynamic-text {
    font-size: 50% !important;
}

 

The attached image is the inspection of my page where i found the ID I'm using.

 

Thanks in advance

Daniel

Screenshot 2020-01-30 at 15.05.14.png

  • Replies 0
  • Views 686
  • Created
  • Last Reply

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.