Support » Plugin: Simple WP Retina » Does this work on tiled background images?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jonathan Desrosiers

    (@desrosj)

    Thanks for the kind words MDesigner0!

    Can you tell me more about how you are applying the background? Is it in your theme’s CSS, or are you using the WordPress Custom Backgrounds feature?

    MDesigner0

    (@mdesigner0)

    I’m applying the background via my theme’s settings.

    Plugin Author Jonathan Desrosiers

    (@desrosj)

    I can’t say for sure because I do not know how your theme is coded, but the plugin will not work with WordPress Custom Backgrounds. This was intentional because at the time, there was discussion about including that in core.

    You will probably have to just override it on your own. Here is a simple example of how to accomplish this.

    @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
        only screen and (-o-min-device-pixel-ratio: 3/2),
        only screen and (min--moz-device-pixel-ratio: 1.5),
        only screen and (min-device-pixel-ratio: 1.5) {
           body {
                background-image: url('images/background@2x.png');
                background-size: ##px ##px;
           }
    }

    For the background-size property, just replace the #s with the size of the regular sized background image.

    MDesigner0

    (@mdesigner0)

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Does this work on tiled background images?’ is closed to new replies.