[ojs] Updaing style sheet of several journals at once


How can one apply a new CSS for several journals at once?
Can it be done via database and a SQL Query tweak ?


Hi @Dani,

There are a few options:

  • Work with the journalStyleSheet setting in the journal_settings table. This is a serialized PHP object, but the format is pretty simple. I’d suggest looking at an example configured via the web interface and then following that for other journal_id values. (Note that you’ll have to flush the cache before changes you make will be seen on the front end – the quickest way to do that is to rm cache/*.php.
  • Create a theme plugin for these journals to use. Follow the examples in the plugins/themes area.
  • If you want all journals to use the same theme, use a site-wide CSS file (uploaded as Site Administrator).

Alec Smecher
Public Knowledge Project Team

1 Like

how to locate journalStyleSheet

Hi @Pen2Print,

As stated above, it’s in the journal_settings database table.

Alec Smecher
Public Knowledge Project Team