Jump to content

Summary Block Title and Excerpt Overlay on Hover

Go to solution Solved by rwp,

Recommended Posts

Site URL: https://lakerenfaire.com/virtual-faire-invite

Good Evening Squarespacers!

I am working on a gradient overlay for a grid summary block and have successful positioned the Title and Excerpt over the images in the summary block. I cannot seem to get them to display on hover, however, and the website only displays the gradient and transition, but not the text. I feel like this is close but I am missing something. 

 

Here is my code:

<!-- Rollover Image Effect -->
<style>
  .summary-item img{position: relative; transition: all .5s ease!important;}
  
  .summary-content {
  	position: absolute;
    color: #ffffff !important;
    top: 50%;
    left: 50%;
    opacity: 0;
      pointer-events: none;
      transition: all .5s ease;
      transform: translate(-50%, -50%);
      -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
      -moz-transform: translate(-50%,-50%);}
  
  .summary-title, .summary-metadata-primary, .summary-metadata-secondary, .summary-excerpt {color: #fffff !important;}
  
  .summary-item:hover img{-webkit-filter: brightness(50%); filter: brightness(50%);}
  
  .summary-content:hover {opacity: 1 !important;}
</style>

 

Link to comment
On 9/25/2020 at 4:58 AM, MoltoBello said:

@rwp That worked! I knew I was close. My title .summary-title tags are still not changing to white though even with the color set with important tag.

I see white text here. Do you still need help on this?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 5 months later...
  • 2 weeks later...
On 3/10/2021 at 12:13 AM, ratkaj said:

I know this has been solved but I'm in the same situation and I'm stuck on the link part. Can you clarify the .summary-title a element that is missing?

 

Site: 
https://schmidtlandscapeservices.squarespace.com
Password: 1234

Hi. Do you still need help on this?

Also I see some pages on mobile have very long content. You should consider adding a back to top button.

On tablet, do you want to change to 2 items/row?

image.thumb.png.efbb6dbc46572f80df75c72beb3cc380.png

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 4 months later...
On 8/9/2021 at 11:06 AM, kakers said:

@MoltoBello I know it's been a while. But I am looking for text over image summary to act like a button.

Can someone list the complete code? and tell me where to put it? This would change my life!

I didn't understand where to add the code @rwp added.

------and what class to use to style it!

Can you share link to page where you added summary block? We can take a look

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 1 month later...
On 10/10/2021 at 8:53 PM, Rolaa said:

I am stuck with this too: how do I add the title to the images on hover? And how does the opacity go to white (rather than dark)? 

This is the page: https://www.thecarolamoon.com/case-studies

You mean summary under Client Experiences?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 6 months later...
13 hours ago, dove_rose said:

Everything seems to be working fine but I cant for the life of me figure out how to fade to white INSTEAD of black...

I am referring to the "featured stories" on my homepage.

www.manningavenue.ca

 

Can someone help?

You mean change text + border color to white?

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 11 months later...
On 9/23/2020 at 10:12 PM, rwp said:
.summary-item:hover .summary-content {
    opacity: 1 !important;
}

Hi! I know it's been a while since this thread started, but hoping to troubleshoot.

I entered this code along with that of the OP above - looking to get the excerpts overlay to pop up on mouse hovering over the carousel summary block images - but the effect is a bit broken (tried the same with NinjaKit extension that someone offered elsewhere in this thread, and similar problems occurred).

(My site: paddlebridge.com/pbtours)

I'm uploading screenshots of what happens when I scroll over each image (all text is centered; text for the left-most appears behind the center image; text for center and right-most images appears over center image)...
I checked other custom coding I've added but I don't *think* there's anything that should be interfering with this block; there's code for customizing the left-right paging arrows but I don't see how that would mess with the summary block below... Could it be an incompatibility issue with my Mojave SqSp. template? A mystery for the ages. 

Cheers!
 

 

Screenshot 2023-04-09 at 3.32.04 PM.png

Screenshot 2023-04-09 at 3.32.13 PM.png

Screenshot 2023-04-09 at 3.32.29 PM.png

Link to comment
1 hour ago, PaddleBridgeKayakTours said:

I have no idea if comments on resolved threads keep notifying people

Notifications are generated for any activity in a thread.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.