[3.0.2] »Journal style sheet« isn’t loaded as last stylesheet

Good morning!

Yesterday I upgraded from 3.0.0 to 3.0.2 and my styling (via »Journal style sheet«) was a bit broken. I can see, that now
<link rel="stylesheet" href="http://www.base.url/?journal=xyz&amp;component=page.page&amp;op=css&amp;name=stylesheet" type="text/css">
is loaded after the »Journal style sheet«. In version 3.0.0 it was vice versa and nothing is noted in the Release Notes.

How can I change the loading order of the stylesheets in an upgrade save way?

Any suggestions are welcome!


Hi @twa,

That’s aleady been fixed for the next OJS release – see Custom uploaded CSS files get loaded too early · Issue #2266 · pkp/pkp-lib · GitHub. I’d suggest applying the patch there, or if you’re using git, cherry-picking it in or using the ojs-stable-3_0_2 branch. (The changes is in the lib/pkp subdirectory.)

Alec Smecher
Public Knowledge Project Team

1 Like

Thanks Alec,

up to now I’ve only used the official releases. I’ll fetch the patch over git.