• Resolved elmsy

    (@elmsy)


    Hi,

    I want to use image float in one resolution but not others. If I add the below code it works, but on all resolutions.

    {GREENSHIFT}
    img {
    float: right;
    }

    However, if I try to limit to specific resolutions as per the code below it doesn’t work at all. Is there something that I’m doing wrong?

    {GREENSHIFT}
    @media_only_screen and (min-width : 768) {
    img {
    float: right;
    }
    }

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author wpsoul

    (@wpsoul)

    Please share link to page with issue

    Plugin Author wpsoul

    (@wpsoul)

    P.s. I think I don’t need link because I found issue in your code, it’s wrong

    Here is correct


    @media_only_screen and (min-width : 768) {
    {GREENSHIFT} img {float: right;}
    }

    Thread Starter elmsy

    (@elmsy)

    Hi,

    Sincere apologies, I’ve been sick and completely missed your responses. Thanks so much for looking into this, and for letting me know the correct code. I went about this a different way, but what you’ve said is much better. Appreciate the help ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Media queries don’t seem to work’ is closed to new replies.