Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • natopas 1 post 21 karma points
    27 days ago
    natopas
    0

    Using media queries in stylesheet

    I can't make my media queries work in my umbraco page. When I inspect in chrome dev tools it is as if it dosn't even find the media queries.

    This is my media query, that I have in my stylesheet (the normal part of the stylesheet works just fine):

    @media screen and (max-width: 600px) { .text-container { display:flex; flex-direction:column; }

    .imageSection1-container { display:flex; flex-direction:column; } }

    I have the viewport meta tag in my template.

  • Huw Reddick 1746 posts 6110 karma points MVP c-trib
    27 days ago
    Huw Reddick
    0

    Is it maybe using a cached version of your stylesheet that didn't have the media query?

Please Sign in or register to post replies

Write your reply to:

Draft