Jump to content

Hoover effect on sponsor logos

Go to solution Solved by JayVanDyke,

Recommended Posts

Hi Squarespace Community!

 

I have searched the forum, but didn't find an answer for my specific questions ... so here it is:

My client has sponsor logos on their website.
These logos should be now displayed all in grey ... and on mouse-over these logos should get a little lighter. On click the user gets directed to the sponsor's website.
This is the site my client got the inspiration for this kind of logo presentation: https://www.weissraum.at/ (just scroll to the bottom).

Any idea how I can achieve this effect in Squarespace?

Best,
Christian

 

Link to comment
  • Solution

If you want it for all the images in that section you could do it like this. This way you don't target individual images.
 

section[data-section-id="652cdfe47161a10cf9d95eb2"] .sqs-block-image {
  img {
    filter: grayscale(100%);
	transition: all .3s;
  }
  &:hover {
    img {
      opacity: .75 !important;
    }
  }
  
}

 

  Did I help you? Buy me a coffee!

👨‍💻 Bergen Design Co.

💻  I'm for hire on Upwork!

🕸️ Squarespace Experts  

🖥️ 99Designs

Link to comment
1 hour ago, jaeveedee said:

If you want it for all the images in that section you could do it like this. This way you don't target individual images.
 

section[data-section-id="652cdfe47161a10cf9d95eb2"] .sqs-block-image {
  img {
    filter: grayscale(100%);
	transition: all .3s;
  }
  &:hover {
    img {
      opacity: .75 !important;
    }
  }
  
}

@jaeveedee the div ID I used chooses the whole section of content as well, not individual images, I just went a couple layers further in than yours 🙂

 

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.