Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do i.........


carloshax

Recommended Posts

catalog/includes/header.php:

 

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

 

Upload your header to your images directory and carefully change the above to suit

Link to comment
Share on other sites

If you don't want to edit header.php you can name your logo file oscommerce.gif and copy it on top of the real oscommerce.gif.

 

If you want it to appear in the admin section you will have to edit the php files there because they set the width of the logo to 204 pixels. The logo appears on the main admin page and on invoices and packing slips.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Ummm, why use 800x200 that is absolutely HUGE and ridiculous. :shock:

 

Some people still use computers that output only 640x480, and some even still use 33.6 modems. When you run a website or a webstore remember you have to think about EVERYONE since all potential users and customers have very different setup's for their computers.

Link to comment
Share on other sites

I changed the image size to 800x150 but the image size is very small. Need another bit of help with it if possible. I use a lrger resolution and i have been told that to make it full size i need to take a 1px cut from the right size of the image and put in a table and set the 1px image as a background in it into it.

 

The code i have at the mo is:

 

<table border="0" width="100%" cellspacing="0" cellpadding="0">

 <tr class="header">

   <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'themodhouse8.jpg', 'TheModHouse.co.uk'); ?></td>

    </tr>

</table>

 

What code do i need to do to achieve this

 

Many Thanks Carl

 

Site Here www.themodhouse.co.uk[/code]

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...