Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Need help on Navigation Bar modification


  • You cannot reply to this topic
No replies to this topic

#1 cover

  • Community Member
  • 7 posts
  • Real Name:John

Posted 31 October 2011, 23:33

I have been trying to place the 'headershortcuts' buttons into the breadcrumb bar. After using the Grid_16 alpha and Grid_8 omega, I was able to align the 'Top>Catalog' with the 'My Account | View Cart | Checkout'. However, the breadcrumb bar became wider and sticking out on the right side of the page (as pointed by an arrowhead in the attached image). Could someone help on this (my header.php gile is included below)?
In addition, as shown in the image, i was not able to apply the same font size on both 'Top>Catalog' and the 'My Account | View Cart | Checkout'. Please give some advice.

I appreciate your time!

Cover




==========
<?php
/*
$Id$

osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com

Copyright © 2010 osCommerce

Released under the GNU General Public License
*/

if ($messageStack->size('header') > 0) {
echo '<div class="grid_24">' . $messageStack->output('header') . '</div>';
}
?>

<div id="header" class="grid_24">
</div>

<div class="grid_24 ui-widget-header infoBoxHeading">

<div class="grid_16 alpha ">
<?php echo ' ' . $breadcrumb->trail(' » '); ?>
</div>

<div class="grid_8 omega " align="right";>

<?php
echo'<a class="headerShortcutLink" href="' . tep_href_link(FILENAME_ACCOUNT, '', 'SSL') . '" alt="" >' . HEADER_TITLE_MY_ACCOUNT . '</a> | ' .
'<a class="headerShortcutLink" href="' . tep_href_link(FILENAME_SHOPPING_CART) . '" alt="" >' .($cart->count_contents() > 0 ? ' (' . $cart->count_contents() . ')' : '') . HEADER_TITLE_CART_CONTENTS . '</a> | ' .
'<a class="headerShortcutLink" href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '" alt="" >' . HEADER_TITLE_CHECKOUT . '</a> ' ;


if (tep_session_is_registered('customer_id')) {
echo ' '.'»'.' '.'<a class="headerShortcutLink" href="' . tep_href_link(FILENAME_LOGOFF, '', 'SSL') . '" alt="" >' . HEADER_TITLE_LOGOFF . '</a>';
}
?>
</div>

</div>
<div class="ui-widget infoBoxContainer">
</div>


<?php
if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerError">
<td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td>
</tr>
</table>
<?php
}

if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerInfo">
<td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td>
</tr>
</table>
<?php
}
?>

Attached Files