Jump to content

Different Solid Hover Colors in Portfolio Grid

Recommended Posts

1 hour ago, jaugustyn said:

Hi There,

I am looking to see if there is CSS code, to add to my site, so that each image in my portfolio grid can have a different solid color on hover? Any help or suggestions would be really appreciated. Thanks!

Website: www.joeyaugustyn.com
Password: Joey2222!

Change the value accordingly and place this into custom css

section[data-section-id="5f67949663133850a624efb4"] .grid-item:nth-child(1) .portfolio-overlay {
    background-color: #e91e63;
}
section[data-section-id="5f67949663133850a624efb4"] .grid-item:nth-child(2) .portfolio-overlay {
    background-color: #ff5722;
}

image.thumb.png.cef7e95807d000c3b33f31db91455030.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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.