Title: Removing Border around image
Last modified: August 20, 2016

---

# Removing Border around image

 *  [mnass](https://wordpress.org/support/users/mnass/)
 * (@mnass)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/removing-border-around-image/)
 * Hi,
 * I am trying to remove the white border behing the flag on the bottom right corner
   of this page
 * [http://maleknass.com/about/biography/](http://maleknass.com/about/biography/)
 * It was first a grey striped border/background. In the “Advanced settings” of 
   the image i set the border to “0” but i ended up with a white border/background
   when this image is actually a .png

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/removing-border-around-image/#post-2696568)
 * > remove the white border behing the flag on the bottom right corner of this 
   > page
 * add this somewhere to style.css:
 * `.page-id-2 img.wp-image-366 { background: none; }`
 * or try:
 * in the advanced image edit settings, add
    `background: none;` into the **Styles**
   field.
 *  Thread Starter [mnass](https://wordpress.org/support/users/mnass/)
 * (@mnass)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/removing-border-around-image/#post-2696630)
 * thanks this worked!
 * So if i want to repeat this process(the first one) for other images, how do i
   do it?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/removing-border-around-image/#post-2696633)
 * > if i want to repeat this process(the first one) for other images
 * use a tool such as Firebug to investigate the css class of you image and your
   page; [http://getfirebug.com/](http://getfirebug.com/)
 * or look into the html code of the page as it is shown when you use ‘view source’
   or similar in the browser toolbar.
 * as the image css class is quite unique, you might not need to use the page-id-??
   as well;
 * this might do:
 * `img.wp-image-366 { background: none; border: none; }`
 * you can add more formatting to these specific styles, such as hiding the border
   in the above example.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Removing Border around image’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/removing-border-around-image/#post-2696633)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
