Jump to content

Brine - Blog titles on hover of thumbnail image on the blog page?

Recommended Posts

Site URL: https://www.no-frames.com/blog-brine/

Hi, 

I need help, as I'm now stuck after hours of fiddling. I was able to achieve a darkened image and centered text, but on hover the text is not responding to opacity or visibility changes. I've tried adding "!important" too. (I mainly want to use the blog page design so that I can have the "previous/next" pagination links at the bottom for a portfolio....)

I would appreciate any assistance! Happy New Year!

7.0 Brine. This is my code: 

Quote

@media screen and (min-width:800px){ 
  .BlogList-item {    
      position: relative;
    }   
  .BlogList-item-title {   
    position: absolute;
    top:50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;     
    opacity: 0;
    transition: all 0.3s;
    }    
  
  .BlogList-item:hover {   
      img {filter: brightness(50%);  
    }   
    title {   
      opacity: 1;
    }
  } 
}

 

Link to comment
12 hours ago, hellomw said:

Site URL: https://www.no-frames.com/blog-brine/

Hi, 

I need help, as I'm now stuck after hours of fiddling. I was able to achieve a darkened image and centered text, but on hover the text is not responding to opacity or visibility changes. I've tried adding "!important" too. (I mainly want to use the blog page design so that I can have the "previous/next" pagination links at the bottom for a portfolio....)

I would appreciate any assistance! Happy New Year!

7.0 Brine. This is my code: 

 

Try in Home > Design > Custom Css

.BlogList-item:hover  .BlogList-item-title {
  opacity: 1;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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.thumb.png.7f78247df204d5b40c56ed3a4f1af8ad.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, 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.