csk Posted May 2, 2007 Share Posted May 2, 2007 Hi, I would like to place 2 logo's in my header, one left and one right. I have tried to change the code in catalog/includes/header.php file. This is the code: I tried inserting 'align="right"' without success. Hep! I also commented out the icons My Account, Checkout etc. <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <td valign"left"<?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'eCYCLING') . tep_image(DIR_WS_IMAGES . 'cape Epic_269.gif', 'Cape Epic', 'align="right"') . '</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> Link to comment Share on other sites More sharing options...
csk Posted May 3, 2007 Author Share Posted May 3, 2007 Hi, perserverance paid off!. I fixed this with the following code: <table border="0" width="100%" cellspacing="0" cellpadding="5"> <tr class="header"> <td align="left"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'eCYCLING') . '</a>'; ?></td> <td align="right", width="100%"><?php echo '<a href="' .HEADER_IMAGE_LINK.'">'. tep_image (DIR_WS_IMAGES . 'cape Epic_269.gif', 'eCYCLING') . '</a>'; ?></td> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.