Title: CSS border for thumbnails
Last modified: August 21, 2016

---

# CSS border for thumbnails

 *  Resolved [WordDug](https://wordpress.org/support/users/worddug/)
 * (@worddug)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/css-border-for-thumbnails/)
 * Hi,
 * I added some custom CSS to the thumbnail borders via the child theme
 * .post-thumbnail img {
    border:1px solid #cccccc; }
 * this works fine in all desktop browsers but when I view on an iphone or when 
   the theme is reponsive the border on the right of the thumbnail dissapears for
   some reason.
 * Are you able to let me know how to fix this issue?
 * Thanks

Viewing 1 replies (of 1 total)

 *  Thread Starter [WordDug](https://wordpress.org/support/users/worddug/)
 * (@worddug)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/css-border-for-thumbnails/#post-4549413)
 * Not sure if its the best way to do it but I changed the below in the child theme
   css and it seems to work ok.
 * .post-thumbnail img {
    border: 1px solid #cccccc; width: 99%; }

Viewing 1 replies (of 1 total)

The topic ‘CSS border for thumbnails’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [WordDug](https://wordpress.org/support/users/worddug/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/css-border-for-thumbnails/#post-4549413)
 * Status: resolved