Title: Adding Borders to a theme
Last modified: August 22, 2016

---

# Adding Borders to a theme

 *  [KnightSigns](https://wordpress.org/support/users/knightsigns/)
 * (@knightsigns)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/adding-borders-to-a-theme/)
 * Hi all,
 * Recently, I’ve been trying to add a white border around my portfolio images. 
   As I’ve been searching around online I came to the conclusion to try this code
   to see how it works (honestly i have no CSS experience but I’m trying to learn
   quickly):
 * “.portfolio_image{
    border: 1px solid #000; width:198px; } .portfolio_image img{
   width: 198px; }”
 * When I put this code in, I put it in the edit css and the custom css tab under
   appearance (one is a plug-in, do i need both??). After i did that, none of my
   portfolio items displayed their front image or any of the other images once you
   click on it! The website I’m referring to is Knightsigns.ca.
 * Sorry if this needs more clarity! I appreciate any help
 * Thanks,
    Phil

The topic ‘Adding Borders to a theme’ is closed to new replies.

## Tags

 * [Borders](https://wordpress.org/support/topic-tag/borders/)
 * [broken images](https://wordpress.org/support/topic-tag/broken-images/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * 0 replies
 * 1 participant
 * Last reply from: [KnightSigns](https://wordpress.org/support/users/knightsigns/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/adding-borders-to-a-theme/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
