• Resolved Ced

    (@cedriccharles)


    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”. 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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • I was just looking at a similar problem. I don’t think this plugin supports background images :/

    Plugin Author Jordy Meow

    (@tigroumeow)

    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.