Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Melville - syyskuu 06, 2006, 08:20:10 AP

Otsikko: Help please, very easy question for someone....
Kirjoitti: Melville - syyskuu 06, 2006, 08:20:10 AP
....Im just not that someone   ::)

www.nufc-forum.com/nufcforum

Can you see how my template is center alligned?  Where is this setting?  I want it to be left alligned.  Ive checked in index.template.php, index.php, display.template.php, settings.template.php and style.css but with no luck.

I know its in there somewhere but I guess Im just missing it  :(

Thanks for any help, Mark
Otsikko: Re: Help please, very easy question for someone....
Kirjoitti: Freiluft - syyskuu 06, 2006, 08:53:10 AP
I don't understand what you want moved to the left. The header graphic already is (you could probably take out some of that top padding), and I presume you want the boards still centered on the page. Do you mean the nav tabs (home, help, etc.) on the right?
Otsikko: Re: Help please, very easy question for someone....
Kirjoitti: Melville - syyskuu 06, 2006, 09:01:51 AP
Sorry, doesnt really give enough detail.

I want the actual forum to be alligned to the left so that I can enter a table down the right to add some pictures in.
Otsikko: Re: Help please, very easy question for someone....
Kirjoitti: Ravyn - syyskuu 06, 2006, 07:28:13 IP
Well technically if you're going to alter the forum code to add a table down the right side of it, when that table is added, everything will still be centered on the entire page giving you the look you wanted anyways, I do believe.
Otsikko: Re: Help please, very easy question for someone....
Kirjoitti: Melville - syyskuu 07, 2006, 04:08:10 AP
Ah ok, so where do I need to put the new table?

Thanks again
Otsikko: Re: Help please, very easy question for someone....
Kirjoitti: Melville - syyskuu 07, 2006, 04:47:58 AP
Just tried adding a table to index.template.php but the new table is behind the forum.

Here is a screen shot of the table just under the search on the right.

(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.nufc-forum.com%2Fimages%2Fscreen.JPG&hash=0ceb1151d4d09fbd3bf6e72e301496652ae0f5ae)

Thanks
Otsikko: Re: Help please, very easy question for someone....
Kirjoitti: bloc - syyskuu 07, 2006, 05:48:29 AP
If you want to start getting the stuff left-aligned, look in style.css on the "body" class:

   width: 757px;
   margin:auto;

Width is set to be 757 pixels. Change that to "100%" if you want to use the whole screen width, and remove margin:auto; as that auto-centers it.