Jump to content

Add border to circular image in Image Card (7.0)

Go to solution Solved by tuanphan,

Recommended Posts

Hi all,

I am editing a website on the 7.0 platform and I wanted to add a gold border to testimonial photo images in the image card block.

The 1:1 square images have been made circles using the in-platform "Shape" option.  I added the below CSS but noticed that the border starts to pull away from the image as I change the width of my browser window.  (see photo)

I'm wondering if I'm not properly targeting the right class here.  Have experimented with a bunch of classes found when inspecting this, but no luck. 

Any help would be appreciated.  Thank you!

Current CSS: 
//Barb Gold photo border//
#block-yui_3_17_2_1_1670530818912_13377 .intrinsic {
  border: 3px solid;
  border-color: #c8a959;
  border-radius: 50%;
  }

Website: https://www.thecuriouslife.org/the-big-reset

 

Screenshot 2022-12-08 at 1.10.59 PM.png

Link to comment
  • Replies 2
  • Views 487
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • 3 weeks 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.