Is it possible to have subfolders in the theme folder? #928
-
I would like to use subfolders in the theme folder. Is that somehow possible?
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
As far as I understand it, at least the |
Beta Was this translation helpful? Give feedback.
-
As Giovanni probably would say, It's easier than you imagine. 😄 The core checks that a file like |
Beta Was this translation helpful? Give feedback.
-
Thank you both! I am currently tidying up my code. I was wondering if it might be better to put all theme files in the theme folder.
|
Beta Was this translation helpful? Give feedback.
As Giovanni probably would say, It's easier than you imagine. 😄 The core checks that a file like
system/themes/mytheme.css
exists and the rest is up to you. If you want to include additional CSS, JavaScript and image files from subfolders, you can do this the usual way. Either add links to yoursystem/layouts/header.html
file or do this automatically with the help of an extension.