Page 1 of 1

Solved - No CSS except on Front page

Posted: Wed Oct 11, 2006 12:39 pm
by d_cee
Hi
I've just transfered a theme from my development site (v1.1alpha7) to my themes site (v1.0). The front page looks as it should but when I click on a link - title, category etc - the new page is rendered unformatted, it doesn't pick up the style.css file.

Any ideas?

Dave

Re: No CSS except on Front page

Posted: Wed Oct 11, 2006 1:18 pm
by garvinhicking
Hi!

If you call the HTTP link of your stylesheet manually in your browser, what do you get? The CSS, or a HTTP error?

Best regards,

Garvin

Posted: Wed Oct 11, 2006 1:27 pm
by d_cee
Hi Garvin

I type in http://themes.daves.me.uk/templates/multi/style.css and get the css.

thanks
Dave

Posted: Wed Oct 11, 2006 1:34 pm
by garvinhicking
Hi!

The URL you use reads like:

templates/multi/style.css

when you view a single entry, you are in the "archives" directory. Thus the template is searched in:

/archives/templates/multi/style.css

which does not exist.

Thus, you need to enter the wrong URL in your template with a full URL or an absolute path.

HTH,
Garvin

Posted: Wed Oct 11, 2006 1:50 pm
by d_cee
Thanks Garvin
I changed the stylesheet link to {$head_link_stylesheet}
it works perfectly now :-D

Dave