Jump to content

Need some help overlaying text+button on image list section on hover.

Recommended Posts

  • ysong changed the title to Need some help overlaying text+button on image list section on hover.
On 1/31/2023 at 10:37 PM, ysong said:

Site: https://countryhousereskin.squarespace.com/

Hi! 

I'm trying to figure out how to move the title + description + button text to appear on the images on hover.

This is what I currently have: 

image.thumb.png.e5524060cd97e5a8b5a7e977993ac06f.png

And this is what I am trying to achieve: 

image.thumb.png.3b3809b88ea2b64cb01ba132f9d03726.png

 

Any help would be greatly appreciated! Thank you in advance.

What is your site-wide password?

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, Lightbox Studio plugin
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

You can try adding to Home > Design > Custom Css

section[data-section-id="63cf1cfad1bc0a76155acde9"] .user-items-list-simple .list-item-content{
  position: absolute;
  background: rgba(0,0,0,0.5);
  height: 100%;
  width: 100%;
  top:0;
  left: 0;
  justify-content: center !important;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
section[data-section-id="63cf1cfad1bc0a76155acde9"] .list-item {
  position: relative;
}
section[data-section-id="63cf1cfad1bc0a76155acde9"] .user-items-list-simple .list-item:hover .list-item-content {
  opacity: 1;  
}
section[data-section-id="63cf1cfad1bc0a76155acde9"] .list-item-content__text-wrapper {
  --list-section-simple-card-description-color: #fff;
  --list-section-simple-card-title-color: #fff;
}
section[data-section-id="63cf1cfad1bc0a76155acde9"] .list-item p strong {
  color: #fff;
}

Support me by pressing 👍  or marking as solution 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, Lightbox Studio plugin
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

My testing

image.png.ca8a4c1497da30a4b906e1c8d51efd2c.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, Lightbox Studio plugin
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
On 1/31/2023 at 3:37 PM, ysong said:

Need some help overlaying text+button on image list section on hover.

As I mentioned in a previous thread, it would be better to show this information all the time. By only showing this information on hover, visitors using mobile devices (typically the largest proportion of visitors) will not see this essential information about each property. All they will see are the images:

image.thumb.jpeg.4cef9daa94d5e3beab58183381b63254.jpeg

Did this help? Please give feedback by clicking an icon below  ⬇️

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Thanks @paul2009 suggestion, we can also set this style only on dekstop by wrapping the above code with

@media query and (min-width:768px) {

 

}

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, Lightbox Studio plugin
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.