Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Adding hover overlay to portfolio grid


spongebob-smc

Question

Site URL: https://mouse-trout-epjy.squarespace.com/members

Hello, 

I am trying to add a blue overlay on hover to the images in a portfolio grid. 

On Members page, you can see I've added a grid of images with a working blue overlay on hover using the following code: 

.layout-caption-overlay-hover .image-caption-wrapper {
  background-color:#66C8F0!important; 
  opacity: 0.6!important; 
  min-height:100%; 
  top:0!important;
}  

 .layout-caption-overlay-hover .image-caption-wrapper, .layout-caption-overlay-hover .image-caption-wrapper
{
  color: transparent;
}

 

Below the contact form you will find another grid with a handful of projects - this is the portfolio grid.

The client would like to be able to add the individual members pages as portfolio projects - so I am trying to code the portfolio grid images to have overlay on hover - am I right in saying this isn't possible because they can't inherit the caption overlay? 

 

 

site password: spong123 

Edited by spongebob-smc
Link to post
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

Use this code for portfolio grid. Add to Home > design > Custom CSS

body#collection-5f36ab9a298ac83b74270322 {
.grid-item:hover .grid-image-inner-wrapper:after {
    background: rgba(102,200,240,0.6) !important;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
}

 

You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan, work for a non-profit project (build free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. 

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...