You are viewing the PKP Support Forum | PKP Home Wiki

Journal-specific style sheet

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.

Journal-specific style sheet

Postby drjhf » Tue Apr 25, 2006 2:03 pm

A couple of quick questions about uploading a journal-specific CSS into Section 5.6 Journal-specific Style Sheet:

Should one take the file common.css, modify only those portions requiring it, rename it as journalname.css and upload it? Does the name matter?

Should one just have the modified sections in the file? Or the whole original with any modifications?

If one only wants to change the color of the top and bottom banners, which sections to modify? Only the #header ?

And what is the height of the colored banner? Width appears to be 800 px.


Julian Fisher
Posts: 27
Joined: Sat Feb 18, 2006 8:31 am

Postby asmecher » Tue Apr 25, 2006 2:32 pm

Hi Julian,

Either approach will work -- that is, you can either modify the file and send the whole thing up, or you can only override the styles you change. I'd suggest just including the modified styles.

The maximum width of the logo file is all that matters. The height isn't predefined and you can make it narrower than the maximum if you like.

The filename of the journal stylesheet also doesn't matter.

To change the colours of the header and footer, override the #header and #footer styles.

Alec Smecher
Open Journal Systems Team
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 4 guests