Title: replacing an image
Last modified: August 21, 2016

---

# replacing an image

 *  [james2612](https://wordpress.org/support/users/james2612/)
 * (@james2612)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/replacing-an-image/)
 * Hi All,
    I hope someone can help me with this question 🙂
 * I am looking for some CSS code that will replace one image with another. In layman’s
   terms i am looking for it to say:
 * “When image1.png should be displayed, display image2.jpg instead”
 * Thanks
    James

The topic ‘replacing an image’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [james2612](https://wordpress.org/support/users/james2612/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/replacing-an-image/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
