Title: CSS Background Image
Last modified: August 21, 2016

---

# CSS Background Image

 *  Resolved [Ced](https://wordpress.org/support/users/cedriccharles/)
 * (@cedriccharles)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/css-background-image-2/)
 * Hi and thank you for your great plugin 🙂 !
 * I have an issue with css background image.
    In my theme folder, I have “logo.
   png” and [logo@2x.png](https://wordpress.org/support/topic/css-background-image-2/logo@2x.png?output_format=md)”.
   In my .css file, I have this :
 *     ```
       header.site-header h1.site-title {
       	display: block;
       	width: 177px;
       	height: 72px;
       	text-indent: -9999px;
           overflow: hidden;
           background: transparent url('../images/logo.png') no-repeat top left;
           padding: 0px;
       }
       ```
   
 * But if I’m on my Macbook Pro Retina or on my iPhone, it still displays “logo.
   png”, not “logo@2x.png” …
 * What’s wrong ?
 * Thanks !
 * [http://wordpress.org/plugins/wp-retina-2x/](http://wordpress.org/plugins/wp-retina-2x/)

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

 *  [Robert Chapin](https://wordpress.org/support/users/miqrogroove/)
 * (@miqrogroove)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/css-background-image-2/#post-4264163)
 * I was just looking at a similar problem. I don’t think this plugin supports background
   images :/
 *  Plugin Author [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * (@tigroumeow)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/css-background-image-2/#post-4264164)
 * The only way it could work is using a server handler to handle the image request
   from the server side. You have to use the “Retina Images” method for that.
 * I strongly suggest you to work on your CSS file using CSS media queries instead.
   The plugin is used for all the images handled by WP on the posts and all, but
   the CSS is a different issue.

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

The topic ‘CSS Background Image’ is closed to new replies.

 * ![](https://ps.w.org/wp-retina-2x/assets/icon-256x256.png?rev=2597316)
 * [Perfect Images: Regenerate Thumbnails, Image Sizes, WebP & AVIF](https://wordpress.org/plugins/wp-retina-2x/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-retina-2x/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-retina-2x/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-retina-2x/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-retina-2x/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-retina-2x/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Jordy Meow](https://wordpress.org/support/users/tigroumeow/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/css-background-image-2/#post-4264164)
 * Status: resolved