Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS WordPress – Media Queries not working

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #257257
    mikewhitehead
    Participant

    I know there’s probably been a number of questions on this but I cannot get my media queries working at all in my wordpress site. I’ve tested the code on a front-end site so I know they’re working but I can’t get them working on the wordpress version. I’m using the html5blank theme as the parent theme. I’ve posted the code here –

    https://stackoverflow.com/questions/45437330/wordpress-media-queries-not-working

    I’ve got my style.css file correct – the media queries are all at the foot of the page. What could I be missing?

    #257319
    webinuse
    Participant

    It’s cascade style sheet so your media queries have to go to the absolute bottom. The other reason why they may not work properly is that you are using (max-width: 1000px) and the plugins (skeleton, etc) are using (min-width: 1000px); next thing is you have to check that your queries are written in order (from bottom) from smallest to biggest. As far as your header is in question I can not find anything wrong.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.