Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Evilgenius - kesäkuu 12, 2006, 11:27:14 AP

Otsikko: How do i make the board 75% width instead of 100%
Kirjoitti: Evilgenius - kesäkuu 12, 2006, 11:27:14 AP
If you could point me in the direction id be grateful.

And hi everyone :)
Otsikko: Re: How do i make the board 75% width instead of 100%
Kirjoitti: Arbalot - kesäkuu 12, 2006, 11:28:49 AP
what is your theme?
Otsikko: Re: How do i make the board 75% width instead of 100%
Kirjoitti: Evilgenius - kesäkuu 12, 2006, 11:39:32 AP
Spikey theme.. Im checking previous posts for index.template.html but cant see it o?
Otsikko: Re: How do i make the board 75% width instead of 100%
Kirjoitti: Arbalot - kesäkuu 12, 2006, 04:10:09 IP
Open your index.template.php
find
   // The logo, user information, news, and menu.
echo '
<table cellspacing="0" cellpadding="0" border="0" align="left" width="100%">

and replace

   // The logo, user information, news, and menu.
echo '
<table cellspacing="0" cellpadding="0" border="0" align="center" width="75%">
Otsikko: Re: How do i make the board 75% width instead of 100%
Kirjoitti: denislici - kesäkuu 13, 2006, 03:14:10 IP
how about default theme ???
Otsikko: Re: How do i make the board 75% width instead of 100%
Kirjoitti: Evilgenius - kesäkuu 13, 2006, 05:39:45 IP
Lainaus käyttäjältä: Arbalot - kesäkuu 12, 2006, 04:10:09 IP
Open your index.template.php
find
   // The logo, user information, news, and menu.
echo '
<table cellspacing="0" cellpadding="0" border="0" align="left" width="100%">

and replace

   // The logo, user information, news, and menu.
echo '
<table cellspacing="0" cellpadding="0" border="0" align="center" width="75%">


thanks, thats solved it mate !
Otsikko: Re: How do i make the board 75% width instead of 100%
Kirjoitti: Elmacik - kesäkuu 13, 2006, 05:41:55 IP
Lainaus käyttäjältä: denislici - kesäkuu 13, 2006, 03:14:10 IP
how about default theme ???

Probably the same :)
Otsikko: Re: How do i make the board 75% width instead of 100%
Kirjoitti: Gargoyle - kesäkuu 13, 2006, 06:29:29 IP
And to imagine I did all that with the css file... Hmmm..

The rc2 default theme css file has the dimensions set in there... Just an FYI.
Otsikko: Re: How do i make the board 75% width instead of 100%
Kirjoitti: Elmacik - kesäkuu 13, 2006, 06:32:19 IP
Lainaus käyttäjältä: Gargoyle - kesäkuu 13, 2006, 06:29:29 IP
And to imagine I did all that with the css file... Hmmm..

The rc2 default theme css file has the dimensions set in there... Just an FYI.

Yes exactly, its a different way to setup margins and paddings.