Jump to content

caption overlay on hover and corner radius

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

On 12/14/2021 at 7:57 AM, chrisshaddock said:

Site URL: https://www.10peaks.ca/10pitc-speakers-2022

Squarespace 7.1 we now have a corner radius option for image blocks. There is also a caption overlay on hover. The caption overlay on hover does not respect the corner radius. Is there a customization so the caption overlay on hover will stay within defined corner radius or shape mask? 

Thanks

 

Add this to Design > Custom CSS

figcaption.image-caption-wrapper {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 1 month later...

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.