CSS stopped working?

Found a bug? Tell us!!
Post Reply
berko1021
Regular
Posts: 5
Joined: Thu Dec 24, 2009 1:22 pm

CSS stopped working?

Post 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
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: CSS stopped working?

Post 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
berko1021
Regular
Posts: 5
Joined: Thu Dec 24, 2009 1:22 pm

Re: CSS stopped working?

Post 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.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: CSS stopped working?

Post 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
berko1021
Regular
Posts: 5
Joined: Thu Dec 24, 2009 1:22 pm

Re: CSS stopped working?

Post by berko1021 »

Using Brown Paper theme.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: CSS stopped working?

Post 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
berko1021
Regular
Posts: 5
Joined: Thu Dec 24, 2009 1:22 pm

Re: CSS stopped working?

Post 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.
yellowled
Regular
Posts: 7111
Joined: Fri Jan 13, 2006 11:46 am
Location: Eutin, Germany
Contact:

Re: CSS stopped working?

Post 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
berko1021
Regular
Posts: 5
Joined: Thu Dec 24, 2009 1:22 pm

Re: CSS stopped working?

Post 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
Post Reply