PKP Bugzilla – Bug 6989
Feature request: upload more than one css file, support for media types
Last modified: 2013-05-29 15:24:21 PDT
We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.
Journal managers can only upload one css file for the journal. Whenever you want to import other css files, especially to support different media types, you could only import css files from external servers (or let your webmaster put additional css files into the styles folder). Journals publishing HTML galleys might like OJS support for at least media types 'print' and 'handheld'.
So I'd like to request an additional feature: support for media types in uploaded css files.
Simple way: allow upload of more than one css file
Little more complicated, but cleaner: add particular upload forms for print.css, handheld.css, etc. and import the uploaded files via
@import url("print.css") print;
Any thoughts, comments?
Correction: If the additional css files were dedicated as stylesheets for different media types, we could just link to them and do without @import.
thanks, Marco -- updating to review for OJS 3.0, as this release will see some significant updates to the entire CSS framework. In the meantime we would suggest users work around this by uploading css files to the server editing template header files directly (not really ideal).