Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2009-07-24 13:46:29
- philbowell
- Member
- Registered: 2009-06-05
- Posts: 12
Article Pages Not being styles
I have a problem where article pages aren’t being style, whilst all other (to my knowledge) pages are. Pages like this one are not being style but pages like our contact page are. I have no idea why because when I developed the site locally it is all working as expected.
Any help would be gratefully appreciated, this is my first TXP site so I may be missing something really obvious but it’s driving me nuts.
Edit: Just a bit more info. I’ve checked the source of the live version against the local version and the source output is, as far as I can see, identical. For some reason though, nothing is being styled and the logo is not displaying.
Edit 2: More info. On pages like this category one there is no styling yet on the live version yet locally it is working.
Last edited by philbowell (2009-07-24 14:15:20)
Offline
Re: Article Pages Not being styles
Your paths to your css are relative. Use txp:site_url
to fix this by replacing
<link rel="stylesheet" type="text/css" href="textpattern/style.css" />
with
<link rel="stylesheet" type="text/css" href="<txp:site_url/>textpattern/style.css" />
Last edited by MattD (2009-07-24 15:57:25)
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#3 2009-07-27 07:57:58
- philbowell
- Member
- Registered: 2009-06-05
- Posts: 12
Re: Article Pages Not being styles
Thanks Matt! It’s all working now!
Offline
Pages: 1