# Ordering stylesheets in /layouts folder

**URL:** <https://discourse.roots.io/t/ordering-stylesheets-in-layouts-folder/6710>\
**Category:** sage\
**Created:** [May 12, 2016, 7:28am UTC](https://discourse.roots.io/t/ordering-stylesheets-in-layouts-folder/6710 "2016-05-12T07:28:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![randzgonz02](https://discourse.roots.io/user_avatar/discourse.roots.io/randzgonz02/32/2656_2.png) [@randzgonz02](https://discourse.roots.io/u/randzgonz02)\
**Post date:** [May 12, 2016, 7:28am UTC](https://discourse.roots.io/t/ordering-stylesheets-in-layouts-folder/6710/1 "2016-05-12T07:28:35Z")

</div>

Hello everyone, I created a new scss file called \_responsiveness.scss and imported it in main.scss as well as the others. My problem is, the \_pages.scss overrides the settings from this new file which has the media queries in it. It seems responsiveness.scss is called first. So I need to know how can I switch the orders of these files? So that responsiveness.scss file will be called last?

Thanks in advance… 🙂

---

<div class="post-metadata">

**Author:** ![ben](https://discourse.roots.io/user_avatar/discourse.roots.io/ben/32/11377_2.png) [@ben](https://discourse.roots.io/u/ben)\
**Post date:** [May 12, 2016, 1:53pm UTC](https://discourse.roots.io/t/ordering-stylesheets-in-layouts-folder/6710/2 "2016-05-12T13:53:39Z")

</div>

Should probably be writing your styles in `_responsiveness` in a way that will always override `_pages`

---

<div class="post-metadata">

**Author:** ![randzgonz02](https://discourse.roots.io/user_avatar/discourse.roots.io/randzgonz02/32/2656_2.png) [@randzgonz02](https://discourse.roots.io/u/randzgonz02)\
**Post date:** [May 12, 2016, 3:09pm UTC](https://discourse.roots.io/t/ordering-stylesheets-in-layouts-folder/6710/3 "2016-05-12T15:09:34Z")

</div>

My bad, the problem was just my selector specificity that’s why it’s not overriding the values.  
Sorry about that… But thanks for your time Ben. 🙂
