Tjobbe Posted November 14, 2004 Posted November 14, 2004 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:
WiseWombat Posted November 14, 2004 Posted November 14, 2004 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: <{POST_SNAPBACK}> 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
smashing Posted November 14, 2004 Posted November 14, 2004 If you want COMPLETE control of the layout and "look and feel" of your site why not use the STS Template Contiution at: http://www.oscommerce.com/community/contributions,1524 I used it for this site and wowed myself with the results.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.