Jump to content

How to create a border around summary posts

Recommended Posts

This is my website: https://www.bettytang.ca/

1. Can't figure out why the border around the summary box images is getting cut off at the end. 

I am using this code:

.summary-item {
  border: 1px solid black;

2. Also, how can I recreate this for my summary box images - a border around the image and a border around the blog date and title? Basically, two border boxes, similar to the attached image. Thanks!image.thumb.png.856ab18c2391b79135800c1fc04a0ffa.png

 

 

Edited by b_tee
Link to comment
  • b_tee changed the title to How to create a border around summary posts
  • Replies 2
  • Views 709
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Add to Design > Custom CSS

.fe-block-yui_3_17_2_1_1688058148385_29220 .summary-item-list {
    margin-left: unset !important;
  
}
.fe-block-yui_3_17_2_1_1688058148385_29220 .summary-item {
    width: calc(~"33.46% - 2px") !important;
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.