Forums / Cotonti / General / Specific Avatar Sizes

pieter
#17076 2009-09-15 14:12
Yes you can. Or a least I think you can.

CSS:
.groupcolor5 {color:#000000; font-weight:bold;}

In TPL:
<span style="groupcolor{FORUMS_POSTS_ROW_MAINGRPID}"> FORUMS_POSTS_ROW_POSTERNAME </span> 

See here for the original post
This was used for colored usernames.
Can can use the same idea for the avatar.

e.g. CSS
img.group5 {
  width: 3.3em;
  height: 3.3em;
  }
img.group2 {
  width: 1.3em;
  height: 1.3em;
  }

In TPL:
<img class="group{FORUMS_POSTS_ROW_MAINGRPID}" src="../assets/T60-90ee90.gif" />

I have not tested it, be should be something like this.
... can we help you ...
This post was edited by pieter (2009-09-15 14:20, 14 years ago)