# 테마 스타일시트: 다른 폴더에서 동일한 filename.scss 파일을 사용할 수 없음

**URL:** https://meta.discourse.org/t/theme-stylesheets-cant-use-the-same-filename-scss-in-different-folders/272563
**Category:** Development
**Created:** [7월 23, 2023, 6:25오후 UTC](https://meta.discourse.org/t/theme-stylesheets-cant-use-the-same-filename-scss-in-different-folders/272563 "2023-07-23T18:25:26Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![manuel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/manuel/32/468169_2.png) [@manuel](https://meta.discourse.org/u/manuel)
#### Post date: [7월 23, 2023, 6:25오후 UTC](https://meta.discourse.org/t/theme-stylesheets-cant-use-the-same-filename-scss-in-different-folders/272563/1 "2023-07-23T18:25:26Z")

</div>

예를 들어, 다음과 같은 구조가 있습니다:

- stylesheets
  - desktop
    - footer.scss

  - mobile
    - footer.scss

`mobile` 폴더에 있는 파일은 인식되지 않습니다. 다른 이름으로 명명해야 합니다. 이 문제를 수정할 수 있는 방법이 있나요, 아니면 파일 처리 방식에 따른 필수적인 동작인가요?

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [7월 26, 2023, 10:03오전 UTC](https://meta.discourse.org/t/theme-stylesheets-cant-use-the-same-filename-scss-in-different-folders/272563/3 "2023-07-26T10:03:52Z")

</div>

안녕하세요 @manuel :waving_hand:

저도 같은 구조를 만들어 보고

`@import "desktop/footer";`  
를 `desktop/desktop.scss`에,

`@import "mobile/footer";`  
를 `mobile/mobile.scss`에 추가해 보았습니다.

두 가지를 `desktop/desktop.scss` 또는 `mobile/mobile.scss`에 모두 가져오기도 시도해 보았어요.

제 환경에서는 잘 작동합니다. 테마 크리에이터에서 테스트해 보았거든요.

무언가를 놓친 건가요? :thinking:

예시를 공유해 주실 수 있나요? :slightly_smiling_face:
