Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Help with header


Recommended Posts

I recently installed the following:



The cart is working in my header however it is centered. How to I get it to right justifiy?


Basically I want my logo on the left and the cart of the right.


here is the snippet of code from the header.php


<div style="text-align: center; background: white; margin: 0;">

<div style="text-align: left; margin: 12px auto; width: 860px;">

<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 . 'itg_logo.gif', 'ITG eStore') . '</a>'; ?>

<td class="infoBoxContents"><b>Your Cart Contains</b><br><a href="<?php echo tep_href_link('shopping_cart.php')?>" class="infoBoxContents"> <?php echo $cart->count_contents()?> items<br>Sub Total: <?php echo $currencies->format($cart->show_total()); ?></td>




what am I missing, is there somewhere else I should be editiong????



Please note I am still a rookie at all of this and if this is posted in the wrong place or is a dumb question I apologize. thanks in advance

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...