Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: gmbhneo on October 03, 2007, 10:00:38 AM

Title: How to Center the "on/off" Pics?
Post by: gmbhneo on October 03, 2007, 10:00:38 AM
Hey guys! i got a little question for you. I add en Screenshot, this could explain all you need to know ^^

(http://www.pic-share.eu/image/20071003/48204606db.jpg)

hope you can help me with this
Title: Re: How to Center the "on/off" Pics?
Post by: H on October 03, 2007, 04:14:50 PM
Please attach the theme's index.template.php :)
Title: Re: How to Center the "on/off" Pics?
Post by: Bulakbol on October 03, 2007, 05:11:00 PM
Not enough info provided but try to search for valign="top" from BoardIndex.template.php and change it to valign="middle".
Title: Re: How to Center the "on/off" Pics?
Post by: gmbhneo on October 04, 2007, 06:41:14 AM
hmm this not realy help, but i attached the template!

Title: Re: How to Center the "on/off" Pics?
Post by: Sarge on October 04, 2007, 10:44:52 AM
index.template.php displays only the top and the bottom of the page, basically.

Search in BoardIndex.template.php and MessageIndex.template.php for on.gif, on2.gif and off.gif and you'll find the lines that need to be changed.
Title: Re: How to Center the "on/off" Pics?
Post by: gmbhneo on October 20, 2007, 07:48:27 AM
ah thanks now it works! i had to change the middle thing on the board index template from the default skin ;)