PDA

View Full Version : deleting RHS of header



starchild
12-06-2002, 03:25 AM
Hi again,

Another quickie - i saw a post a few days ago about how to get rid of the RHS space of the header - but for the life of me i can't find it again! I can remove the icons for account, cart etc, but am then left with a blank space to the right of my custom header pic. I want to center my logo, and can't because of this.

thanks a million,

tim :)

michael_s
12-09-2002, 12:13 PM
In header.php:

Original Code:

<table border="0" width="750" cellspacing="0" cellpadding="0" align="center">
<tr class="header">
<td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Test Cart'); ?></td>
<td align="right" valign="bottom"><?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_account.gif', HEADER_TITLE_MY_ACCOUNT) . '</a>  <a href="' . tep_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
</tr>
</table>

Change to :


<table border="0" width="750" cellspacing="0" cellpadding="0" align="center">
<tr class="header">
<td><center><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Test Cart'); ?></center></td>
</tr>
</table>

starchild
12-09-2002, 05:47 PM
thank you very much for your time and effort :D much appreciated,
tim