Jump to content

Css code for rounded corners featured images blog items

Go to solution Solved by Ziggy,

Recommended Posts

Site URL: https://crow-manatee-3gjr.squarespace.com

I'm working on a new website. All the images in the new website have rounded corners but it's not possible within Squarespace for the featured images. Can anybody help me with coding these corners? It's for the featured images on the blog items / pages.

Website and password:

Dy<vPg?r&/^3B{9F
 
Thanks a million!

Schermafbeelding 2022-09-29 om 13.27.34.png

Link to comment
  • Solution

Try this in the Custom CSS, you'll have to adjust the pixel radius to suit your design:

.sqs-block-summary-v2 .summary-thumbnail {
  border-radius:20px;
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

If you switch to using summary blocks as your front facing blog page, then you have a lot of control over the items in the block. Here is some code I use to change the block items to just about any shape by adjusting the border radius along  with a box shadow:

.sqs-block-summary-v2 .summary-item {
  background-color: #ffffff;
  border-radius: 15px 70px 15px 70px;
  -webkit-box-shadow: 0px 0px 15px rgba(100, 100, 100, 100.1) !important;
  -moz-box-shadow: 0px 0px 15px rgba(100, 100, 100, 100.1) !important;
  box-shadow: 6px 5px 15px rgba(100, 100, 100, 100.1) !important;
}

https://myrandomviews.com/blogsummary

Edited by derricksrandomviews
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.