Jump to content

Add a watermark image to a summary block image on hover

Recommended Posts

Site URL: https://journey-to-the-well.squarespace.com/

Hello! I'm trying to add a hover effect to my summary block images. The summary blocks are in the list format and the image is a photographer's watermark that they only want lightly visible upon rollover or hover. I cannot seem to isolate the summary thumbnail to accomplish this.

I have the image loaded in custom CSS, but can't figure out the code to make it appear, then become invisible again. 

Any help would be greatly appreciated! 

background: url("https://static1.squarespace.com/static/6148a095356f78057995cec3/t/615daea6d70e8448d0787da7/1633529514344/logo_circle_png.png")

Link to comment
On 10/28/2021 at 12:49 AM, deannaburks said:

Site URL: https://journey-to-the-well.squarespace.com/

Hello! I'm trying to add a hover effect to my summary block images. The summary blocks are in the list format and the image is a photographer's watermark that they only want lightly visible upon rollover or hover. I cannot seem to isolate the summary thumbnail to accomplish this.

I have the image loaded in custom CSS, but can't figure out the code to make it appear, then become invisible again. 

Any help would be greatly appreciated! 

background: url("https://static1.squarespace.com/static/6148a095356f78057995cec3/t/615daea6d70e8448d0787da7/1633529514344/logo_circle_png.png")

Have you solved it yet? I try hovering your image and the logo appears

image.thumb.png.3dab6a1ae5f14b13f2fb2f1775283b86.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
10 hours ago, deannaburks said:

@bangank36 it's on the pages under Contemplation rooms. Those images in the summary are pulling from a blog post image. I can't figure out how to add the code to have the same watermark on those images

Is it the result you want to achieve?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

If it 'your need, you can try adding to Home > Design > Custom Css

.summary-thumbnail-outer-container > a:after {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 158px;
  height: 160px;
  background: url(https://static1.squarespace.com/static/6148a095356f78057995cec3/t/615daea6d70e8448d0787da7/1633529514344/logo_circle_png.png)
    no-repeat;
  background-size: contain;
  opacity: 0;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
  transition: all 0.6s;
}

.summary-thumbnail-outer-container:hover a:after {
  opacity: 1;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.