PDA

View Full Version : Adjust height ogf category image?


Adam21
11-05-2007, 10:14 AM
Lets say i have this piece of code in my forumhome_forumbit_level1_nopost template.This allows me to specify which image to use per category.How do i specify the height of each or all of the categories so that my background category image can be displayed fully other than just adding <br> tags inside the forum manager?

<td class="tcat" <if condition="in_array($forum[forumid], array(3,61,44))">style="background: url(images/gradients/gradient_tcat_$forum[forumid].jpg) no-repeat center right;"</if> colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">

Freesteyelz
11-06-2007, 06:04 AM
If you only want the category (tcat) on Forum Home height bigger that's not affecting the other pages then replace your code with:


<td class="tcat" <if condition="in_array($forum[forumid], array(3,61,44))">style="height:30px;background: url(images/gradients/gradient_tcat_$forum[forumid].jpg) no-repeat center right;"</if> colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">



Change the value of height in red to whatever you want.