core icon indicating copy to clipboard operation
core copied to clipboard

where to define path to custom styles.css?

Open abstractmodel opened this issue 14 years ago • 1 comments

i wonder where i can specify the path to the CSS-file for the current theme?

i'm not sure, that this is the same in every theme, but in a custom theme, the path to the CSS is:

%OC%/themes/%theme%/core/css/styles.css

ok, but in the other files in the %theme%-folder is nowhere a specified path to this styles.css... so, the path to define the load of the styles.css must be specified somewhere else - but where?

the reason is, i want to make a central CSS for 2 or more OC-instances.

(sure, maybe i can search in the content of every source code-file of OC for "styles.css" or at least ".css" [didn't made this yet, 'cause my internet is very slow to download my complete %OC%-folder], but maybe there are other users out there, who wants to know the same..?)

abstractmodel avatar Dec 01 '12 20:12 abstractmodel

You can´t specify the path. The theme engine automatically loads the css files that are in the corresponding locating in the theme folder. Please look here for more information: http://owncloud.org/dev/theming/ If you want to theme two ownCloud instances with the same theme then I recommend to use a symlink to the theme folder.

karlitschek avatar Dec 02 '12 14:12 karlitschek