Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Disturbed on September 16, 2006, 06:45:01 PM

Title: Center details in view topic page
Post by: Disturbed on September 16, 2006, 06:45:01 PM
I'm wondering how I can make the user details in the topic page centered?

Incase you don't know what I mean here is a screenshot:

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg103.imageshack.us%2Fimg103%2F5597%2Funtitled1nd8.jpg&hash=1053217078e3c137f7bb29f706b952ef9178d3dd)

Also is it possible to put a line to seperate the user details from the post?



thanx for your help..
Title: Re: Center details in view topic page
Post by: jerm on September 16, 2006, 11:54:50 PM
Display.template.php
Look for:
// Show information about the poster of this message.

What you want to modify is in the code below that.
Title: Re: Center details in view topic page
Post by: Disturbed on September 17, 2006, 08:10:35 AM
thanx..although I'm not too sure where to add the code. I suppose I could just try it out though.. :)
Title: Re: Center details in view topic page
Post by: Disturbed on September 19, 2006, 06:18:19 PM
Sorry for the double post but it wouldnt be noticed otherwise.

I figured it out, so here it is incase anyone else wants to do the same..

Open Display.template.php

Find this:
// Show information about the poster of this message.

Then below find this line:
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">

Replace with this code:
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;" align="center">

Then save and replace the old file.

thanx to jerm for telling me where to look  :)