Title: Solid Color behind loading images?
Last modified: August 18, 2016

---

# Solid Color behind loading images?

 *  Resolved [noncollective](https://wordpress.org/support/users/noncollective/)
 * (@noncollective)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/solid-color-behind-loading-images/)
 * Is it possible to have a solid colour behind images while they load?
 * Cheers, D.

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

 *  [harknell](https://wordpress.org/support/users/harknell/)
 * (@harknell)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/solid-color-behind-loading-images/#post-656573)
 * You can usually add that in by adding a css entry for images (or make a class
   for images that get added to your images) and add a background image element.
   Any decent online css guide will show you how this works.
 *  [aeonex](https://wordpress.org/support/users/aeonex/)
 * (@aeonex)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/solid-color-behind-loading-images/#post-656580)
 * Harknell,
 * Do you have a reference to _“any decent css guide”_ ?
 * Have you tested any of the theories you have posted?
 * _“You can usually add that in by adding a css entry for images”_
 * An entry such as?
 * Attempting to give the img tag a value in the css of a background-color?
 * _(or make a class for images that get added to your images) and add a background
   image element._
 * What???
 * Make a DIV and give it a background-color to show while the image is loading?
 * What did you have in mind?
 *  [shadow](https://wordpress.org/support/users/shadow/)
 * (@shadow)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/solid-color-behind-loading-images/#post-656582)
 * In your CSS, whatever class you are using for your images, [usually something
   like .post img] just add a background colour.
 * For example
 * `.post img {background #cccccc;}`
 *  Thread Starter [noncollective](https://wordpress.org/support/users/noncollective/)
 * (@noncollective)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/solid-color-behind-loading-images/#post-656587)
 * Thanks Shadow, that worked.

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

The topic ‘Solid Color behind loading images?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [noncollective](https://wordpress.org/support/users/noncollective/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/solid-color-behind-loading-images/#post-656587)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
