TinyPortal

Development => Support => Topic started by: mr tart on December 13, 2006, 02:10:58 PM

Title: Header woes
Post by: mr tart on December 13, 2006, 02:10:58 PM
Using the default theme and SMF 1.1/TP 0.9.7

http://www.southwalesprojumping.co.uk/index.php

I'm trying to make the logo centered and with the table background black (so there is no blue in the header at all.

This is what I've changed my index.template to:
<body>';
// TinyPortal start
     if($context['TPortal']['fixed_width']!=0)
             echo '<table align="center" width="'.$context['TPortal']['fixed_width'].'" cellpadding="0" cellspacing="0" border="0"><tr><td>';

// TinyPortal end

   echo '
   <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '>
      <table width="100%" bgcolor="black" cellpadding="0" cellspacing="0" border="0">
         <tr>
            <td align="center" bgcolor="black">
               <img src="', $settings['images_url'], '/defaultheader1.png" alt="" />
            </td>
         </tr>
      </table>';


I cant see anywhere else where changes need to be made so what am I missing?

Matt
Title: Re: Header woes
Post by: mr tart on December 13, 2006, 02:21:16 PM
Nevermind =)