Jump to content

Rounding corners of portfolio/gallery thumbnails with hover overlays

Recommended Posts

I am using the following code to round the corners of my portfolio thumbnails. 

/* Round corners portfolio items */
body.homepage a.grid-item, body.homepage .grid-image {
    border-radius: 10px;
}
 

I am using a grid:overlay. When I hover over the thumbnails the overlay is not filleted. 

Any suggestions on how to fix this?

Link to comment
  • Replies 2
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Using your following code fillets the thumbnails: 

.products .grid-image-wrapper,
.image-block-wrapper,
.ProductItem-gallery-slides-item.selected,
.sqs-gallery-design-grid-slide .image-slide-anchor

  {
  
    border-radius: 25px;
    
    }

 

But, the overlay is not affected. It still has its corners. 

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.