SimplePortal

Support => English Support => Topic started by: Jakki on August 30, 2008, 08:29:28 PM

Title: Adjust the size of middle blocks
Post by: Jakki on August 30, 2008, 08:29:28 PM
Are they adjustable? How do I adjust the size of the middle blocks?
Title: Re: Adjust the size of middle blocks
Post by: Eliana Tamerin on September 06, 2008, 11:06:08 PM
At this time, the middle blocks are not adjustable via the SP Settings.

You can probably control the width in SPortalBlocks.template.php
Title: Re: Adjust the size of middle blocks
Post by: Nathaniel on September 06, 2008, 11:09:36 PM
Actually the file that you want to edit is the 'SPortal.template.php' file.

Find this code:
Code: [Select]
echo '
<!-- // Center Block Side // -->
<td valign="top">';

Replace with this code:
Code: [Select]
echo '
<!-- // Center Block Side // -->
<td valign="top" style="width:500px;">';

You will need to change the 'width:500px;' code as required.
Title: Re: Adjust the size of middle blocks
Post by: Jakki on September 08, 2008, 08:14:26 AM
Thanks when I did that it changed the side blocks too..its okay I think I have it set now.
Title: Re: Adjust the size of middle blocks
Post by: edi67 on October 11, 2008, 04:13:07 PM
how make this work with simpleportal 2.0.5?
Title: Re: Adjust the size of middle blocks
Post by: ???1031 on October 13, 2008, 12:51:49 AM
In the same way, only that you need to look into SPortal1-1.template.php.

Bye
DIN1031
SimplePortal 2.3.8 © 2008-2024, SimplePortal