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

Separate header into three boxes

This is a discussion on Separate header into three boxes within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I would like to have my header consist of separate sections..a left image (left justified) and right image (right Justified) ...

      
  1. #1
    Member
    Join Date
    Feb 2006
    Posts
    61
    Rep Power
    0


    Default Separate header into three boxes

    I would like to have my header consist of separate sections..a left image (left justified) and right image (right Justified) and a background image. The background is a section that will fill in between the left and right, giving the effect of a continuous banner...regardless of monitor resolution.

    I've fooled around with the following sections (in Dreamweaver) but everything I tried just "blew things up."

    Thanks for any advice...

    <!-- header //-->
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr class="header">
    <td width="100%"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'OSCMAX_top.jpg', 'osCommerce taken to the max!') . '</a>'; ?></td>
    </tr>
    </table>
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr class="headerNavigation">
    <td class="headerNavigation">  <? php echo $breadcrumb->trail(' » '); ?></td>
    <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a>  |  <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></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>
    <!-- TS added lower header cell -->
    <!-- look at backup to insert lower header here //-->
    <!-- TSend of lower header cell remove above <tr> to </tr> to remove this section -->
    </table>
    <!-- header_eof //-->

  2. #2
    Member
    Join Date
    Feb 2006
    Posts
    61
    Rep Power
    0


    Default RE: Separate header into three boxes

    Got it...here's the answer:

    <tr class="header">
    <td width="50%" background="images/top_filler.jpg"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'left_top.jpg', 'Emerald BioSystems!') . '</a>'; ?></td>
    <td width="50%" background="images/top_filler.jpg"><div align="right"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'right_top.jpg', 'Emerald BioSystems!') . '</a>'; ?></div></td>
    </tr>

Similar Threads

  1. checkout_shipping_address.php list states in separate boxes
    By where_s_gary in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 10-15-2005, 04:29 PM
  2. change boxes background color now have double boxes
    By ANNIE11 in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 08-22-2005, 07:16 PM
  3. login header boxes extra character appears
    By altenter in forum osCmax v1.7 Discussion
    Replies: 8
    Last Post: 08-15-2005, 07:18 PM
  4. color of header text in new products and specials boxes
    By dschroedl in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 08-24-2004, 05:35 AM
  5. header / header.php top logo problem
    By the_error_king in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 04-05-2004, 05:02 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
  •