Title: Adding a solid border
Last modified: October 8, 2016

---

# Adding a solid border

 *  Resolved [Granddadscott](https://wordpress.org/support/users/granddadscott/)
 * (@granddadscott)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adding-a-solid-border/)
 * I am not that up on css code and would like to add a border to the images shown.
   
   can i do it by adding the attribute Border to the short code. And if so how would
   it be, example please.
 * Any help much appreciated.
 * This is exactly the plugin I was looking for and works extremely well and is 
   simple to use.
    Very well done.

Viewing 1 replies (of 1 total)

 *  [Micah Wood](https://wordpress.org/support/users/woodent/)
 * (@woodent)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/adding-a-solid-border/#post-8266085)
 * [@granddadscott](https://wordpress.org/support/users/granddadscott/)
 * Since the shortcode provides functionality only and leaves the styling up to 
   the theme, there is no way to set the border with the shortcode.
 * That can definitely be done with CSS, but may likely affect other images as well.
   You may be better off switching into the ‘Text’ tab on the content editor and
   adding a wrapping div with an inline style, like this:
 *     ```
       <div style="border: 1px solid black;">
       [mpress_image_refresh]
       </div>
       ```
   
    -  This reply was modified 9 years, 7 months ago by [Micah Wood](https://wordpress.org/support/users/woodent/).

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/mpress-image-refresh/assets/icon-256x256.png?rev=3200416)
 * [Image Refresh](https://wordpress.org/plugins/mpress-image-refresh/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mpress-image-refresh/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mpress-image-refresh/)
 * [Active Topics](https://wordpress.org/support/plugin/mpress-image-refresh/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mpress-image-refresh/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mpress-image-refresh/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Micah Wood](https://wordpress.org/support/users/woodent/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/adding-a-solid-border/#post-8266085)
 * Status: resolved