Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2010-05-03 11:22:39
- danfarr
- New Member
- Registered: 2010-05-03
- Posts: 9
Main header navigation
I’ve come into trouble with a main header set of images I’ve installed onto TextPattern 4.2. When I navigate from the main page of my site eg. articles/3/
the site logo and the menu icons disappear :(
Currently they’re hard coded on the default_html with: ‘ images/Icon.gif’
Is there a way to resolve this?
Thanks in advance!
Offline
Re: Main header navigation
Try to add a trailing slash at the begining of the url: /images/…
Offline
#3 2010-05-03 12:24:05
- danfarr
- New Member
- Registered: 2010-05-03
- Posts: 9
Re: Main header navigation
nope tried that :( tried ../ aswell but can’t seem to find a solution that gets them both working. Is it possible to have a HTML layout assigned to each form?
Offline
Re: Main header navigation
or: <txp:site_url />images/Icon.gif
in your page template with the html.
If you need to do that in your css, then url(/images/Icon.gif)
as Gil mentioned should work unless your installation is in a subdirectory in which case you need url(/subdirectory/images/Icon.gif)
. You can use something like the network pane of firebug or the webkit web inspector to debug this. On the pages where they are not loading, look at the broken links and find out from where it is trying to load them.
TXP Builders – finely-crafted code, design and txp
Offline
#5 2010-05-03 12:37:42
- danfarr
- New Member
- Registered: 2010-05-03
- Posts: 9
Re: Main header navigation
marvelous! thanks jakob! i’ve only been using textpattern a few hours so once i look through the documentation more i’m sure i’ll understand how it works.
Cheers!
Offline
Pages: 1