• Resolved Gustavo Gonzalez

    (@gustavoglez)


    Hi,

    I love this plugin, but on my site the background images do not show the @2x version. Is there a solution for that?

    Thank you.
    Gustavo

Viewing 1 replies (of 1 total)
  • Plugin Author Wouter Postma

    (@wouterpostmanl)

    Dear Gustavo,

    Currently this is not supported by the plugin. However, we may consider adding this functionality in the future.

    Meanwhile, you could fix it with a media query in your CSS sheet, please see example below:

    @media all and (-webkit-min-device-pixel-ratio: 1.5) {
      #logo {
        background-image: url('/images/[email protected]');
        background-size: 200px 100px;
      }
    }

    (Of course, replace #logo with any div class or ID, and edit the size to whatever size your image should be).

    Hope this helps!

    Cheers,
    Wouter

    • This reply was modified 7 years, 6 months ago by Wouter Postma.
Viewing 1 replies (of 1 total)
  • The topic ‘Background images’ is closed to new replies.