Guest Posted April 21, 2008 Posted April 21, 2008 I have read many posts on resizing logo or how to eliminate the white space to the right of the logo. I can not figure out what I need to take out (I believe the 2nd table cell) but I can not figure out. header.php File Type: PHP script text <?php /* $Id: header.php,v 1.1.1.1 2004/03/04 23:42:24 ccwjr Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ define('DIR_WS_TEMPLATE_IMAGES', 'templates/Original/images/'); // WebMakers.com Added: Down for Maintenance // Hide header if not to show if (DOWN_FOR_MAINTENANCE_HEADER_OFF =='false') { if (SITE_WIDTH!='100%') { ?><?php } $column_query = tep_db_query("SELECT configuration_value FROM `configuration` WHERE configuration_key = 'STORE_LOGO'"); $column = tep_db_fetch_array($column_query); ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr class="header"> <!-- <td valign="middle"><?php //echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_TEMPLATE_IMAGES . 'drawing4.gif', 'Store Logo') . '</a>'; ?></td>--> <td valign="middle"><a href="<?php echo tep_href_link(FILENAME_DEFAULT)?>"><img src="<?php echo DIR_WS_TEMPLATES . TEMPLATE_NAME;?>/images/<?php echo $column['configuration_value']?>" alt="LOGO" border="0"></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> </table> <table border="0" width="100%" cellspacing="0" cellpadding="1"> <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <td align="right" class="headerNavigation"> <?php if (!tep_session_is_registered('noaccount')){// DDB - PWA - 040622 - no display of logoff for PWA customers if (!tep_session_is_registered('customer_id')) { echo ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_LOGIN, "", "SSL") . '">' . HEADER_TITLE_LOGIN . '</a> | '; } else { echo ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_ACCOUNT, "", "SSL") . '">' . HEADER_TITLE_MY_ACCOUNT . ' </a> | '; echo ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_LOGOFF, "", "SSL") . '">' . HEADER_TITLE_LOGOFF . ' </a> | '; } } if (tep_session_is_registered('noaccount')) // DDB - PWA - 040622 - no display of account for PWA customers { if (!tep_session_is_registered('customer_id')) { echo ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_LOGIN, "", "SSL") . '">' . HEADER_TITLE_LOGIN . ' </a> | '; }else{ echo ' <a class="headerNavigation" href="' . tep_href_link(FILENAME_LOGOFF, "", "SSL") . '">' . HEADER_TITLE_LOGOFF . ' </a> | '; } } ?> <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?> | </a></td> </tr> </table> <?php } ?> <!-- header_eof //--> Thanks, Ginger
Recommended Posts
Archived
This topic is now archived and is closed to further replies.