Announcement

Collapse
No announcement yet.

Change the font for the catagories

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Change the font for the catagories

    I would like to alter the font used for some of my catagories on the forum.

    Is this possible to do this for individual catagories or does it need to be done for the whole board?

    Indeed is it possible at all?

    If so where do i need to look and what do i need to alter to do it.

    Thankyou in advance.

  • #2
    Inside of the categories? In that case you can create and assign entire styles for those forums.

    Only the titles in the forum listings? In that case you can use a template conditional. For example, in the forumhome_forumbit_level2_post template:

    Code:
    <tr align="center">
    	<td class="alt2"><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
    	<td class="alt1Active" align="$stylevar[left]" id="f$forum[forumid]">
    		<div>
    			<a <if condition="$forum[forumid] == X">style="font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;"</if> href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
    			<if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
    		</div>
    		<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
    		<if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
    		<if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    	</td>
    	<td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
    	<td class="alt1">$forum[threadcount]</td>
    	<td class="alt2">$forum[replycount]</td>
    	<if condition="$vboptions['showmoderatorcolumn']">
    	<td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
    	</if>
    </tr>
    $childforumbits
    Where X is the forumid of the forum whose title you want to use the specified font size and type.

    Comment

    Loading...
    Working...
    X