Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

creating another image in website header


collectandkeep

Recommended Posts

Posted

i wish to place a second image in my website header next to my company logo. i would like to align it to the right because my logo is aligned to the left does anyone know the file to change and where i should place the script to do this.

 

site is www.collectandkeep.com feel free to have a look

 

regards jon

Posted
i wish to place a second image in my website header next to my company logo. i would like to align it to the right because my logo is aligned to the left does anyone know the file to change and where i should place the script to do this.

 

site is www.collectandkeep.com feel free to have a look

 

regards jon

 

includes/header.php

 

<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>

</tr>

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

  • 3 weeks later...
Posted
Hello,

How to add background image to the website header?

as simple as this:

 

file: include/header.php @

line 55:

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

line 56:

...<tr class="header" style="background-image:url(../images/_hdr.bgnd01.gif); ">

 

[where "_hdr.bgnd01.gif" is your background image]

 

i guess that's what you need.

Archived

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

×
×
  • Create New...