Steve
Steve

Reputation: 1765

CSS media query not being applied

This site uses the style sheet http://staging.taxrusaccounting.com.au/wp-content/themes/bones-new/library/css/style.css which contains the media query:

@media only screen and (min-width: 768px) {
    .nav li {
      float: left;
      position: relative;
    }
}

However, the .nav li rule is not present in Chrome Inspector when the viewport is wider than 768px.

Help appreciated.

Upvotes: 0

Views: 95

Answers (1)

Steve
Steve

Reputation: 1765

Found a typo

@media screen and (max-width: 600px} {

should be:

@media screen and (max-width: 600px) {

Upvotes: 1

Related Questions