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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

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: Yahoo [Bot] and 1 guest