osCmax v2.5 User Manual
Results 1 to 3 of 3

deleting RHS of header

This is a discussion on deleting RHS of header within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi again, Another quickie - i saw a post a few days ago about how to get rid of the ...

      
  1. #1
    Member
    Join Date
    Dec 2002
    Location
    Byron Bay, Australia
    Posts
    45
    Rep Power
    0


    Default deleting RHS of header

    Hi again,

    Another quickie - i saw a post a few days ago about how to get rid of the RHS space of the header - but for the life of me i can't find it again! I can remove the icons for account, cart etc, but am then left with a blank space to the right of my custom header pic. I want to center my logo, and can't because of this.

    thanks a million,

    tim

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default

    In header.php:

    Original Code:
    Code:
    <table border="0" width="750" cellspacing="0" cellpadding="0" align="center">
      <tr class="header">
        <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Test Cart'); ?></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, '', 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>  <a href="' . tep_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>
      </tr>
    </table>
    Change to :

    Code:
    <table border="0" width="750" cellspacing="0" cellpadding="0" align="center">
      <tr class="header"> 
        <td><center><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'Test Cart'); ?></center></td>
      </tr>
    </table>
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    Member
    Join Date
    Dec 2002
    Location
    Byron Bay, Australia
    Posts
    45
    Rep Power
    0


    Default

    thank you very much for your time and effort much appreciated,
    tim

Similar Threads

  1. Bulk deleting to repopulate
    By RoyceK in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 01-18-2006, 08:28 PM
  2. Problem deleting orders in Admin
    By nemail in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 05-18-2005, 01:07 PM
  3. Deleting images problem!
    By pthurmond in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-04-2005, 11:21 AM
  4. New to OSCMAX, Question on deleting items...
    By frankenstein897 in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 12-29-2004, 06:50 AM
  5. Something went wrong deleting Header Images
    By Studio143 in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 12-26-2004, 02:33 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •