Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need some help with the header


Tjobbe

Recommended Posts

hey everyone.

 

I've changed the look and feel of many oscommerce templates but have not done anything like this before, its probably not that complicated but I can't do it without any help >_< , hence im here!

 

I have managed to change the logo for the header, but I want to set a background image for the top as well. how do i do this?

 

I also want to delete the three images that are there now (the My Account | Cart Contents | Checkout ones), how can i do that?

 

and replace it with a new image, aligned to the right. it will be the same height as the logo, how would i do that?

 

Thanks in advance for your help!

 

Tjobbe

 

 

 

IMAGE AS I WANT IT TO BE:

 

oscom.gif

Link to comment
Share on other sites

hey everyone.

 

I've changed the look and feel of many oscommerce templates but have not done anything like this before, its probably not that complicated but I can't do it without any help >_< , hence im here!

 

I have managed to change the logo for the header, but I want to set a background image for the top as well. how do i do this?

 

I also want to delete the three images that are there now (the My Account  |  Cart Contents  |  Checkout  ones), how can i do that?

 

and replace it with a new image, aligned to the right. it will be the same height as the logo, how would i do that?

 

Thanks in advance for your help!

 

Tjobbe

IMAGE AS I WANT IT TO BE:

 

oscom.gif

Go to catalog/includes/header.php around line 57/58

 

 

I think this is line 57 replace you logo and discription and put in <center></center> tags.

 

<td valign="middle"> <center> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . ' My logo.jpg ', ' Welcome to My logo Website ') . ' </center> </a>'; ?></td>

 

I think this is line 58 add tags <!-- --> to the front and end off lines to remove top buttons.

 

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

( WARNING )

I think I know what Im talking about.

BACK UP BACK UP BACK UP BACK UP

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...