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
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.

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: 8343
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: GeorgeBiology, Google [Bot] and 3 guests