Thread: Template guide
View Single Post
Old April 23rd, 2007, 12:02 PM   #7 (permalink)
dropmachine
Member
Verified Customer
 
Join Date: Mar 2002
Posts: 66
Well, for example, this would be the sample css text:

.greylineright {
background-image: url(../stylesheets/graphics/greylineright.png);
background-repeat: no-repeat;
background-position: right top;
}



In say Categories.tmpl, i would just do this (but not in bold or caplitals):

<td class="{$Style['GREYLINERIGHT']}" align="right" nowrap="nowrap">
{$cats['numposts'][$x]}</span> {$cats['lpostlink'][$x]}
</td>


Basically defining new classes in silver.css and then trying to sub them into the template files.

Doesn't seem to be working, unless they are classes that have previously been stated. Anything I add seems to be ignored.
dropmachine is offline   Reply With Quote