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.

Bug 6989 - Feature request: upload more than one css file, support for media types
Feature request: upload more than one css file, support for media types
Status: NEW
Product: OJS
Classification: Unclassified
Component: Open Journal Systems
All All
: P3 normal
Assigned To: PKP Support
Depends on:
  Show dependency treegraph
Reported: 2011-12-16 03:56 PST by Marco Tullney
Modified: 2013-05-29 15:24 PDT (History)
1 user (show)

See Also:
Version Reported In:
Also Affects:


Note You need to log in before you can comment on or make changes to this bug.
Description Marco Tullney 2011-12-16 03:56:24 PST
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?
Comment 1 Marco Tullney 2011-12-16 04:00:05 PST
Correction: If the additional css files were dedicated as stylesheets for different media types, we could just link to them and do without @import.
Comment 2 James MacGregor 2013-05-29 15:24:21 PDT
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).