Title: Image load &#8211; grey square
Last modified: May 24, 2025

---

# Image load – grey square

 *  Resolved [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [1 year ago](https://wordpress.org/support/topic/image-load-grey-square/)
 * Hi Litespeed
 * I am using some lazy load css to avoid the grey background that shows a splaceholder
   before load of images, like so:
 *     ```wp-block-code
       /******** Litespeed Cache - Articicial Lazy Load ********/img[data-lazyloaded]{    opacity: 0;}/******** Litespeed Cache - Transition (Delay) Lazy Load *********/img.litespeed-loaded {    -webkit-transition: opacity .1s linear .1s;    -moz-transition: opacity .1s linear .1s;    transition: opacity .1s linear .1s;    opacity: 1;}/******** Litespeed Cache - Ignore Lazy Load (logo and such) ********/.instant-load img[data-lazyloaded] {    opacity: 1;} 
       ```
   
 * where last bit loads some images immediately. I wish to use this for logo fx.
   However, that brings back the grey background. How can I avoid the grey entirely,
   yet have few images load immediately?
 * Where does this grey get it’s grey colour temporarily. Can I recolor to WordPress
   variable base like this:
 *     ```wp-block-code
       background-color: var(--wp--preset--color--base);
       ```
   
 * and what would the hook be?
 * thx

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year ago](https://wordpress.org/support/topic/image-load-grey-square/#post-18482678)
 * ![](https://i0.wp.com/i.imgur.com/cQBI6ox.png?ssl=1)
 * have you checked this place ?
 *  Thread Starter [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * (@hebhansen)
 * [1 year ago](https://wordpress.org/support/topic/image-load-grey-square/#post-18482745)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Thx man – simple and cool. I snatched the transparent that is actually referenced
   below the form …. It beats me why the transparent is not the default…. Just wondering,
   but thx!

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

The topic ‘Image load – grey square’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

## Tags

 * [background](https://wordpress.org/support/topic-tag/background/)
 * [box](https://wordpress.org/support/topic-tag/box/)
 * [Grey](https://wordpress.org/support/topic-tag/grey/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [load](https://wordpress.org/support/topic-tag/load/)

 * 2 replies
 * 2 participants
 * Last reply from: [hebhansen](https://wordpress.org/support/users/hebhansen/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/image-load-grey-square/#post-18482745)
 * Status: resolved