OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



CSS Problems

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.

CSS Problems

Postby amecily » Sat Sep 08, 2012 4:14 am

Hi there,

I am trying to make adjustments to the CSS of OJS, but whenever I make changes to the common.css and upload it, the layout of the page becomes distorted. I am not even making layout changes, I am only trying to change colours. Please see the image below:

Image

Is it possible that the CSS file I am using is out of date or something? Please advise.

Thanks,
Amy
amecily
 
Posts: 13
Joined: Sun May 27, 2012 6:59 am

Re: CSS Problems

Postby asmecher » Sat Sep 08, 2012 12:46 pm

Hi Amy,

You should only be uploading a stylesheet that overrides the specific classes that you want to change, rather than uploading a modified copy of the entire common.css.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: CSS Problems

Postby amecily » Sun Sep 09, 2012 6:46 am

Hi Alec,

Great, thanks so much :)

Amy
amecily
 
Posts: 13
Joined: Sun May 27, 2012 6:59 am

Re: CSS Problems

Postby amecily » Sun Sep 09, 2012 7:29 am

Oh and one more thing? If I wanted to create a div around the content of the pages - so that I could have a grey background (the body) and a white block containing the content (the div), would I need to change this in the Smarty templates?
amecily
 
Posts: 13
Joined: Sun May 27, 2012 6:59 am

Re: CSS Problems

Postby amecily » Sun Sep 09, 2012 10:11 am

Oh, never mind I just realised that the content is already enclosed in a 'main' div.
Thanks Alec.
amecily
 
Posts: 13
Joined: Sun May 27, 2012 6:59 am


Return to OJS Technical Support

Who is online

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