Title: Adding a border around posts
Last modified: August 22, 2016

---

# Adding a border around posts

 *  [dave773](https://wordpress.org/support/users/dave773/)
 * (@dave773)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-a-border-around-posts/)
 * I’m sorry if this question has been answered 100 times before but I do not know
   which class will add the border around posts.
 * I have created a child theme and tried
 * `.posts { border:10px solid black;}`
 * just to see if it would work but no success. I’ve tried inspecting the element
   but need a little help.
 * the website is thesloeruin.com

Viewing 1 replies (of 1 total)

 *  Thread Starter [dave773](https://wordpress.org/support/users/dave773/)
 * (@dave773)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/adding-a-border-around-posts/#post-5802369)
 * Ok I don’t know how but suddenly that above code worked! :/

Viewing 1 replies (of 1 total)

The topic ‘Adding a border around posts’ is closed to new replies.

## Tags

 * [posts](https://wordpress.org/support/topic-tag/posts/)

 * 1 reply
 * 1 participant
 * Last reply from: [dave773](https://wordpress.org/support/users/dave773/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/adding-a-border-around-posts/#post-5802369)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
