Jump to content

Adding borders to summary block not working properly

Go to solution Solved by Ziggy,

Recommended Posts

I'm having trouble getting the borders to show up correctly on this carousel summary block. The first image shows the aspect ratio as Auto and the second image shows it as 2:3 (standard vertical).  The Auto aspect ratio works the best at showing most of the borders but even then the third image's right border is not showing up properly.
 

This is the code I used in the Home page injection section:

  .sqs-block-summary-v2 .img-wrapper img {
    border-radius: 16px;
    border: 2px solid #303030;
  }

----

Website: https://serenidad-therapy.squarespace.com

Password: demo

Auto Aspect Ratio.png

Standard Vertical Aspect Ratio.png

Link to comment
  • Solution

Tweaking your code to this should solve the problem:

.sqs-block-summary-v2 .img-wrapper img {
    border-radius: 16px;
    border: 2px solid #303030;
    transform: scale(0.96);
}

 

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) 

 Did I help? Buy me a coffee?

Link to comment
14 minutes ago, Ziggy said:

Tweaking your code to this should solve the problem:

.sqs-block-summary-v2 .img-wrapper img {
    border-radius: 16px;
    border: 2px solid #303030;
    transform: scale(0.96);
}

 

Thank you so much! This worked perfectly.

Link to comment
Just now, ab24 said:

Thank you so much! This worked perfectly.

Fantastic! Thanks for the like and solution!

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) 

 Did I help? Buy me a coffee?

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.