Theme stylesheets: Can't use the same filename.scss in different folders

E.g. I have a structure like:

  • stylesheets
    • desktop
      • footer.scss
    • mobile
      • footer.scss

The file in the mobile folder is not regognized. I’d have to name it differently. Can this be changed or is it part of how the files are processed?

5 Likes

Hey @nolo :wave:

I created the same structure and

@import "desktop/footer";
to desktop/desktop.scss

@import "mobile/footer";
to mobile/mobile.scss

I tried to import both to desktop/desktop.scss or mobile/mobile.scss too.

It works for me. I tried it on theme creator.

Am I missed something? :thinking:

Can you share an example? :slightly_smiling_face:

1 Like