Title: Border on wp gallery
Last modified: August 19, 2016

---

# Border on wp gallery

 *  Resolved [kjagen](https://wordpress.org/support/users/kjagen/)
 * (@kjagen)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/border-on-wp-gallery/)
 * I just want a plain black border on the thumbs in my post and pages.
    Where do
   I change this? Right now there`s a grey thick border
 * I use INove

Viewing 1 replies (of 1 total)

 *  [t31os](https://wordpress.org/support/users/t31os/)
 * (@t31os)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/border-on-wp-gallery/#post-1035366)
 * Using the CSS classes associated with Gallery items is easiest..
 * `div.gallery`
    `dl.gallery-item` `dt.gallery-icon` `img.attachment-thumbnail`
 * Example:: (Style them how you need, this is just an example)
 *     ```
       .gallery * {
         border:none;
         width:auto;
       }
       .gallery-icon {
         padding:2px;
         border:1px solid #000;
         margin:0 2px;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Border on wp gallery’ is closed to new replies.

## Tags

 * [border](https://wordpress.org/support/topic-tag/border/)
 * [img](https://wordpress.org/support/topic-tag/img/)
 * [inove](https://wordpress.org/support/topic-tag/inove/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t31os](https://wordpress.org/support/users/t31os/)
 * Last activity: [17 years, 2 months ago](https://wordpress.org/support/topic/border-on-wp-gallery/#post-1035366)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
