You are viewing the PKP Support Forum | PKP Home Wiki

Problem rendering articleview.css [RESOLVED]

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.

Problem rendering articleview.css [RESOLVED]

Postby mendesrocha » Wed Feb 27, 2008 4:12 pm

Hello All,

We are having trouble in using the articleview.css.

When we open the HTML version of an article the order of browser's renderizing our css files is commom.css, then, articleview.css, then, journalstylesheet.css. I saw it using the webdevoloper plugin for Firefox.

The problem is that on JournalStyleSheet the div #main width is setted to 620px, and in articleview we want it to fit 800px. And the final render result is the #main with 620px.

How can we do to change this order of rendering?

I have already changed the order of the insertion of the two files on the <head> of the file


But it has not worked. We are still using OJS 2.1.1

Any suggestion?

Thank You,

Posts: 178
Joined: Mon Nov 05, 2007 11:10 am
Location: Brazil

Re: Problem rendering articleview.css

Postby jmacgreg » Wed Feb 27, 2008 5:43 pm

Hi Renato,

Have you tried clearing your template caches and refreshing?

Also, for the article proper you'll have to edit templates/article/article.tpl for the same changes to take effect.

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Re: Problem rendering articleview.css

Postby mendesrocha » Thu Feb 28, 2008 9:04 am

Hello James,

It worked!

Thank you for your attention.

Posts: 178
Joined: Mon Nov 05, 2007 11:10 am
Location: Brazil

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 2 guests