Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Bigger Header


Recommended Posts


I've been searching for ages and I can't seem to find any info on how to enlarge the size of the header where the oscommerce logo is in the top left hand corner. I want to enlarge it so I can place a new image in there that goes across the entire top of the page. Can someone please point me in the right direction.


Thanks :D

Link to comment
Share on other sites

Look in catalog/includes/header.php around lines 56-59:


<tr class="header">

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></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) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>



The 1st set of <td> contains the osCommerce logo. The 2nd set contains the 3 icons at the upper right hand corner.


Since you wish to have an image across the entire top of page, you can combine the two <td>s and replace the codes as follows:


<tr class="header">

<td colspan="2"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>





1. Upload your image to the catalog/images folder.

2. Replace oscommerce.gif with your image filename.

3. Replace osCommerce with your store name.


Hope that helps... :blush:

Link to comment
Share on other sites

Hi Patrick


I took your advice and made the changes. The My Logo is displayed but company name is not. I change values in both Header.php files.






(I am not the orginal person that posted the question?)

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...