SMF Support > SMF 2.0.x Support

Centering "Board, Topics, Post, Last Posts"

(1/1)

StormChaser83:

http://www.free-information-help.com/index.php


What .php file do i need to edit in order to have these centered on the main page?

K@:
As it's a dziner studios theme, why not ask them? ;)

hcfwesker:
Just a hunch but you could try this.  In that theme's BoardIndex.template.php file

find

--- Code: ---    <td colspan="2" class="first">Board</td>
   <td class="stats_sub">Topics</td>
   <td class="stats_sub">Posts</td>
   <td class="lastpost_sub">Last post</td>
--- End code ---

Replace with

--- Code: ---    <td colspan="2" class="first" align="center">Board</td>
   <td class="stats_sub" align="center">Topics</td>
   <td class="stats_sub" align="center">Posts</td>
   <td class="lastpost_sub" align="center">Last post</td>
--- End code ---

StormChaser83:

--- Quote from: hcfwesker on August 18, 2012, 01:04:30 PM ---Just a hunch but you could try this.  In that theme's BoardIndex.template.php file

find

--- Code: ---    <td colspan="2" class="first">Board</td>
   <td class="stats_sub">Topics</td>
   <td class="stats_sub">Posts</td>
   <td class="lastpost_sub">Last post</td>
--- End code ---

Replace with

--- Code: ---    <td colspan="2" class="first" align="center">Board</td>
   <td class="stats_sub" align="center">Topics</td>
   <td class="stats_sub" align="center">Posts</td>
   <td class="lastpost_sub" align="center">Last post</td>
--- End code ---

--- End quote ---


I tried that, plus a few other things. . I could not get those centered.

Navigation

[0] Message Index

Go to full version