Page 1 of 1

Left and right hand blocks

PostPosted: Tue Aug 16, 2005 7:08 pm
by d6
On this template in your demo page the blocks on the left and right of the page are all different widths. unfortunately same problem on my dev site. How can i correct this?

Re: Left and right hand blocks

PostPosted: Tue Aug 16, 2005 8:20 pm
by Helter
i dont see that. What resolution are you using? Most of the blocks are at the mercy of what your displaying inside them.

Re: Left and right hand blocks

PostPosted: Tue Aug 16, 2005 9:19 pm
by d6
Sure, sorry. In FF it works fine but in IE at 1024x768 the blocks apear different sizes.

Image

Re: Left and right hand blocks

PostPosted: Wed Aug 17, 2005 6:59 pm
by Helter
ok, the fix is not too difficult
open templates/Infusion/portal_page_header.tpl and find
Code: Select all
  1.  
  2. <table width="100%" cellpadding="5" cellspacing="0" border="0"
  3. <BEGIN>
  4. class="forumline"
  5. <END>
  6. >
  7.    <BEGIN>
  8.    <tr>
  9.       <th>{header_blocks_row.title.TITLE}</th>
  10.    </tr>
  11.    <END>
  12.    <tr>
  13.       <td
  14.       <BEGIN>
  15.       class="row1"
  16.       <END>
  17.       >{header_blocks_row.OUTPUT}</td>
  18.    </tr>
  19. </table>
  20.  


change the table width to "150". That will make them all the same. You can make them smaller if you want, but you will have to also edit
templates/Infusion/blocks/clock_block.tpl to make it match the size.
example...
Code: Select all
  1.  
  2. <table width="150" cellpadding="5" cellspacing="0" border="0"
  3. <BEGIN>
  4. class="forumline"
  5. <END>
  6. >
  7.     <BEGIN>
  8.     <tr>
  9.         <th>{header_blocks_row.title.TITLE}</th>
  10.     </tr>
  11.     <END>
  12.     <tr>
  13.         <td
  14.         <BEGIN>
  15.         class="row1"
  16.         <END>
  17.         >{header_blocks_row.OUTPUT}</td>
  18.     </tr>
  19. </table>
  20.  

Re: Left and right hand blocks

PostPosted: Thu Aug 18, 2005 3:53 am
by d6
Ahh beautiful, thanks

Re: Left and right hand blocks

PostPosted: Mon Apr 06, 2015 8:35 pm
by wileamson7
Oh, and another question regarding this theme (which I love by the way - thanks for porting it), I have a custom welcome block in BBcode - but the center alignment doens't work. I have it set to center but it's still on the left.




ahsan

Re: Left and right hand blocks

PostPosted: Wed Apr 08, 2015 11:08 am
by Helter
What's your url?