OJS OCS OMP OHS

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

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

/seer2/templates/article/view.tpl


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

Any suggestion?

Thank You,

Renato
---------------------
http://www.revistas.ufg.br
mendesrocha
 
Posts: 169
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.

Cheers,
James
jmacgreg
 
Posts: 4186
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.

Renato
mendesrocha
 
Posts: 169
Joined: Mon Nov 05, 2007 11:10 am
Location: Brazil


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests