I have been playing around and come up with a few things which work but dont do what I want.
Still I starting to understand.
eg
Code:
{if ( $cat < 1 or $cat > 3 )}
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
{/if}
If $cat is less than category one or more than category three; show the css file.
However in some of my categories I have subcategories like this:-
+ Running (cat 1) --[the main category]--
- Running Shoes (cat

- Clothing (cat 9)
- Accessories (cat 21)
Now how could I say that if category 1 show css file 1, and apply this to all the subcategories. Since I said in my previous post I do not understand $location[1].1 or $location[position].1
I know this is possible to do now, I am just finding it slightly frustrating, plus also learning this I have also realised the full potential of X-Cart through using Smarty.