OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Ordering CSS stylesheets

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

Ordering CSS stylesheets

Postby nicollb » Fri Dec 01, 2006 11:50 am

Version 2.1 (I think with latest patches):

I have a journal stylesheet (for my particular journal); there is also the articleView.css in the same location as common.css.

When the article pages are built, the stylesheets are loaded in this order: common.css, articleView.css, journalStyleSheet.css;

I'd really like to have the order be common, journal, article - is there a way to do this? Or a way to add an articleView type style sheet for a journal that would only be called when one is on a full article page? I mean, without having to load a stylesheet with each individual article?

Or some better approach?
nicollb
 
Posts: 15
Joined: Fri Sep 30, 2005 11:35 am

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests