Support » Fixing WordPress » Screen width

  • Resolved jrcollins

    (@jrcollins)


    I’m using a css media query to change the layout of my page when the screen width is 1225px or less. I always thought the width of the html element was equal to screen width (assuming there’s no padding or margins), but this doesn’t appear to be the case. With the html element highlighted in my browser’s developer tools, I can see the media query doesn’t come into effect until the html element is resized to 1205px.

    • This topic was modified 1 month, 1 week ago by  jrcollins.
    • This topic was modified 1 month, 1 week ago by  jrcollins.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.