Jump to content

Adding a thin black border to all blog posts in specified blog in 7.0

Recommended Posts

  • Replies 10
  • Views 834
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
  • 1 month later...
  • 1 year later...
On 10/4/2022 at 9:13 AM, Grady_young said:

My sit is gradenyoung.com and I'm trying to do this exact same thing, but pasting that code snippet in a "code" block isn't working.  Do you know why this wouldn't work?

You mean on Homepage? You used Summary Block on homepage, so need a different code

Add this to Design > Custom CSS

/* Home Summary */
body.homepage .summary-item {
    border: 1px solid black;
    padding: 5px 7px 8px 9px; /* top right bottom left */
}

 

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.