# @media query not working

**URL:** <https://discourse.roots.io/t/media-query-not-working/7956>\
**Category:** sage\
**Created:** [October 24, 2016, 9:15am UTC](https://discourse.roots.io/t/media-query-not-working/7956 "2016-10-24T09:15:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marver](https://discourse.roots.io/letter_avatar_proxy/v4/letter/m/ce73a5/32.png) [@marver](https://discourse.roots.io/u/marver)\
**Post date:** [October 24, 2016, 9:15am UTC](https://discourse.roots.io/t/media-query-not-working/7956/1 "2016-10-24T09:15:04Z")

</div>

Hello,

I get an error when I try compiling @media queries. I cannot figure out what went wrong. Only thing I noticed that in previous versions (now installed version 8.5.0) there is more code in bower.json

Now I have:

```
{
  "name": "sage",
  "homepage": "https://roots.io/sage/",
  "authors": [
    "Ben Word <ben@benword.com>"
  ],
  "license": "MIT",
  "private": true,
  "dependencies": {
    "bootstrap": "git://github.com/twbs/bootstrap.git#v4.0.0-alpha.4"
  }
}

```

I Used to have:

```
{
  "name": "sage",
  "homepage": "https://roots.io/sage/",
  "authors": [
    "Ben Word <ben@benword.com>"
  ],
  "license": "MIT",
  "private": true,
  "dependencies": {
    "bootstrap-sass": "3.3.6",
    "bootstrap-select": "^1.11.2"
  },
  "overrides": {
    "bootstrap-sass": {
      "main": [
        "./assets/stylesheets/_bootstrap.scss",
        "./assets/javascripts/bootstrap/transition.js",
        "./assets/javascripts/bootstrap/alert.js",
        "./assets/javascripts/bootstrap/button.js",
        "./assets/javascripts/bootstrap/carousel.js",
        "./assets/javascripts/bootstrap/collapse.js",
        "./assets/javascripts/bootstrap/dropdown.js",
        "./assets/javascripts/bootstrap/modal.js",
        "./assets/javascripts/bootstrap/tooltip.js",
        "./assets/javascripts/bootstrap/popover.js",
        "./assets/javascripts/bootstrap/scrollspy.js",
        "./assets/javascripts/bootstrap/tab.js",
        "./assets/javascripts/bootstrap/affix.js",
        "./assets/fonts/bootstrap/glyphicons-halflings-regular.eot",
        "./assets/fonts/bootstrap/glyphicons-halflings-regular.svg",
        "./assets/fonts/bootstrap/glyphicons-halflings-regular.ttf",
        "./assets/fonts/bootstrap/glyphicons-halflings-regular.woff",
        "./assets/fonts/bootstrap/glyphicons-halflings-regular.woff2"
      ]
    }
  }
}

```

The error I get:

_Error: Invalid CSS after “e”: expected 1 selector or at-rule, was "e/ Small devices ("_\*  
\*\* on line 1 of assets/styles/common/\_global.scss\*\*  
_\>\> e/ Small devices (Phones, 480px and up) /_  
\*\* ^\*\*

I really don’t know where to start. Could something have gone wrong on installing? I work with second edition manual.

---

<div class="post-metadata">

**Author:** ![jasperfrumau](https://discourse.roots.io/user_avatar/discourse.roots.io/jasperfrumau/32/5215_2.png) [@jasperfrumau](https://discourse.roots.io/u/jasperfrumau)\
**Post date:** [October 24, 2016, 12:12pm UTC](https://discourse.roots.io/t/media-query-not-working/7956/2 "2016-10-24T12:12:56Z")

</div>

What is at:

> [@marver](#):
>
> on line 1 of assets/styles/common/\_global.scss\*\*

? That would be a good start for debugging the issue. Or a link to a gist with the whole file. Perhaps even better.
