Page 1 of 1
CSS stopped working?
Posted: Thu Dec 24, 2009 1:27 pm
by berko1021
I have been away for several weeks and when I just returned I noticed that all the design features are not working from my blog? Maybe there is a problem with the css? Please help, I have no idea where to start.
http://www.twilightartistry.com/blog
Thanks!
-Brian
Re: CSS stopped working?
Posted: Thu Dec 24, 2009 9:15 pm
by yellowled
berko1021 wrote:Maybe there is a problem with the css?
Looking into the code, I get "The resource from this URL is not text:" for your stylesheet. You could check whether the stylesheet of your template was accidentally destroyed or something and maybe upload it again? Make sure you don't upload it in binary (FTP) mode.
YL
Re: CSS stopped working?
Posted: Fri Dec 25, 2009 7:06 am
by berko1021
Do you know how I can get just the css file for the selected theme? What is a better way to upload it non-FTP? Usuall when I upload files, it is through FTP. Thanks for your help.
Re: CSS stopped working?
Posted: Fri Dec 25, 2009 1:26 pm
by yellowled
berko1021 wrote:Do you know how I can get just the css file for the selected theme? What is a better way to upload it non-FTP? Usuall when I upload files, it is through FTP. Thanks for your help.
FTP uload is just fine, but uses 2 different modes to transfer files. A good FTP client should also offer an "automatic" mode to determine which mode (ascii oder binary) to use for which file.
The CSS file of any s9y theme is usually /templates/YOURTEMPLATE/style.css, but some templates might have extra stylesheets. It would help to know which template you're actually using here
YL
Re: CSS stopped working?
Posted: Fri Dec 25, 2009 3:27 pm
by berko1021
Using Brown Paper theme.
Re: CSS stopped working?
Posted: Fri Dec 25, 2009 4:07 pm
by yellowled
So, you should check /templates/brownpaper/style.css. That's the only stylesheet of that template. Does it exist, is it's size greater than 0? Is it readable for you web server user? If the answer to all those questions is "yes", I'd try uploading it via FTP again (you can get it von spartacus.s9y.org), making sure it's uploaded in ascii mode.
YL
Re: CSS stopped working?
Posted: Sat Dec 26, 2009 10:59 pm
by berko1021
The styles.css file for that template is there and it is 7.5 kb. How do I check if it's readable for my web server user? Thanks for your help.
Re: CSS stopped working?
Posted: Sun Dec 27, 2009 2:16 pm
by yellowled
Well, the ftp client should show you the user and group the file is assigned to as well as the permissions of the file. However, this is where it gets a little iffy since I don't know the web server user on your server or the ftp client you're using.
Anyway, the permissions should be -rw-r--r-- or 644. Hope that helps.
YL
Re: CSS stopped working?
Posted: Wed May 12, 2010 6:10 pm
by berko1021
Thanks for all your help previously. I got everything working again somehow but I had to switch away from Serendipity unfortunately. Thanks again!!
-Brian
Twilight Album Design
http://www.twilightalbumdesign.com