OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



issue uploading custom CSS file

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.

issue uploading custom CSS file

Postby kennymatthew » Wed Apr 03, 2013 12:12 am

When I am trying to upload a custom CSS file made using notepad++ during the setup stage 5. It says "Invalid journal stylesheet format. Accepted format is .css." Any ideas what I could be doing wrong? file name is sample.css
kennymatthew
 
Posts: 127
Joined: Wed Jan 09, 2013 11:49 pm

Re: issue uploading custom CSS file

Postby JasonNugent » Wed Apr 03, 2013 4:19 am

Hi Kenny,

Are you sure that it ends in .css? Some operating systems like Windows (and occasionally Mac) hide the 'real' file extension.

Regards
Jason
JasonNugent
Site Admin
 
Posts: 886
Joined: Tue Jan 10, 2006 6:20 am

Re: issue uploading custom CSS file

Postby kennymatthew » Thu Apr 04, 2013 1:01 am

Hi Jason,

The file extensions are not hidden. Filename is sample.css.I am now trying to upload the file to this post but it says CSS files are not allowed :cry:

Regards,
Kenny Mathew
kennymatthew
 
Posts: 127
Joined: Wed Jan 09, 2013 11:49 pm

Re: issue uploading custom CSS file

Postby kennymatthew » Thu Apr 04, 2013 1:18 am

Hi,

I made it a text file so i could upload it to this post. Could it be cause of some syntax error?


Regards,
Kenny Mathew
Attachments
sample.txt
custom CSS file
(1.61 KiB) Downloaded 43 times
kennymatthew
 
Posts: 127
Joined: Wed Jan 09, 2013 11:49 pm

Re: issue uploading custom CSS file

Postby piotreba » Sun Apr 07, 2013 1:17 am

You missed semicolon in line 92:
margin-bottom:-5px
piotreba
 
Posts: 157
Joined: Mon Dec 13, 2010 3:29 pm

Re: issue uploading custom CSS file

Postby kennymatthew » Wed Apr 10, 2013 12:23 am

OMG .....
So stupid of me.... thanks alot piotreba for taking the time to help me out.. :oops:
kennymatthew
 
Posts: 127
Joined: Wed Jan 09, 2013 11:49 pm

Re: issue uploading custom CSS file

Postby kennymatthew » Mon Apr 15, 2013 2:58 am

I tried that ..but it stilll not accepting the CSS file ..... i checked the CSS file on this site http://jigsaw.w3.org/css-validator/
it says there is no error but still OJS does not accept it .....
kennymatthew
 
Posts: 127
Joined: Wed Jan 09, 2013 11:49 pm


Return to OJS Technical Support

Who is online

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