centering cat titles... - NBS






 

 

centering cat titles... - NBS

View Full Version : centering cat titles...


~*Fury*~
24-Oct-2004, 12:19 PM
Can some one tell me where abouts i go to make the title of each catagory centered.

or indeed if it is possible.

see attached piccie..

Sprocket
24-Oct-2004, 08:17 PM
very easy to do, go to the skin you want to edit and sellect,
FORUMHOME or if you have split your catagories the sellect FORUMHOME_FORUMBIT_LEVEL1_NOPOST and look for this code and add



trying to add code to this page is proveing to be a right pain so download this text file and you'll see where i added (align="center")

good luck...<!--
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="tcat" align="center" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif (#top)
$forum[title] (forumdisplay.php?$session[sessionurl]f=$forum[forumid])
<if condition="$show['forumdescription']">$forum[description]
</if>
<if condition="$show['subforums']">$vbphrase[subforums]: $forum[subforums]
</if>
</td>
</tr>
</tbody> -->

Sprocket
24-Oct-2004, 11:56 PM
ok lets try again with this html code....hold tight......




$forumbits
<tbody>
<tr>
<td class="tfoot" align="center" colspan="<if condition="$vboptions['showmoderatorcolumn']">6<else />5</if>"><div class="smallfont"><strong>
<a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a>
&nbsp; &nbsp;
<a href="showgroups.php?$session[sessionurl]">$vbphrase[view_forum_leaders]</a>
</strong></div></td>
</tr>
</tbody>
</table>
<!-- /main -->

~*Fury*~
25-Oct-2004, 08:05 AM
Thanks Sprocket i will check it out

swantonio
27-Dec-2004, 08:25 AM
Can some one tell me where abouts i go to make the title of each catagory centered.

or indeed if it is possible.

see attached piccie..



''''
??

Aristia
27-Dec-2004, 10:12 AM
I find the easiest way to do it on a default skin (and some edited skins) is in the css. look for category strips and in the additional box add this:
text-align:center;

Planet IBX
07-Apr-2005, 08:02 PM
I find the easiest way to do it on a default skin (and some edited skins) is in the css. look for category strips and in the additional box add this:
Can we do this on the VBX skin? :hmm:

Aristia
18-Apr-2005, 07:01 AM
yes.............

MikeC
18-Apr-2005, 09:09 PM
this can be done for any class within CSS - for example certain sections will have different classes - the example given above is strips, you will find these like .strips, .row1 or .row2 - notice the dots in front.

You can use text-align:center; in any of these and that will set which ever option has included the coding of the particular class. e.g <div class=".row1">coding of table contents are found in between</div>

hope this helps.

Mike.

Aristia
19-Apr-2005, 08:31 PM
minus the . in the class lol (class="row1" not class=".row1") :P