X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Added new images to top but it has pushed the speed bar out (https://forum.x-cart.com/showthread.php?t=13852)

karentown 05-06-2005 02:37 AM

Added new images to top but it has pushed the speed bar out
 
Hiya,

I added a couple of image next to the company logo

http://www.sweetpeaandmeboutique.com/xcart/index.php

but as you can see the speedbar is over to the left now. I have tried to adjust it but cant get it back.

This is the code:


Code:

<TABLE border="0" cellpadding="0" cellspacing="0" width="100%" class="TopLine">
<TR>
<TD>[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
</TABLE>
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR class="TopMenu">
<TD rowspan="2" width="22" height="103">[img]{$ImagesDir}/spacer.gif[/img]</TD>
<TD>
{if $config.Company.company_phone}{$lng.lbl_phone_1_title}: {$config.Company.company_phone}{/if}{if $config.Company.company_phone_2}{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}{/if}
</TD>
<TD align="right" valign="right">
{section name=sb loop=$speed_bar}
{if $speed_bar[sb].active eq "Y"}
[img]{$ImagesDir}/customer_images/arrow.gif[/img]<A href="{$speed_bar[sb].link}" class="TopMenu">{$speed_bar[sb].title}
{if $speed_bar[sb].link eq "cart.php"}[img]{$ImagesDir}/customer_images/cart.gif[/img]</A>{else}</A>{/if}
{/if}
{/section}
</TD>


<TD rowspan="2" width="25">[img]{$ImagesDir}/spacer.gif[/img]</TD>
</TR>
<TR>
<TD valign="top"><div align="left">[img]{$ImagesDir}/customer_images/company_logo.gif[/img]
    </div>
    <td width="253">[img]{$ImagesDir}/customer_images/header_spacer.gif[/img]</td>
  <TD valign="bottom"><div align="right">[img]{$ImagesDir}/customer_images/new_register.gif[/img]</div></td>
    <TD valign="bottom"><div align="right">[img]{$ImagesDir}/customer_images/find_register.gif[/img]</div></td>


Any ideas or help would be very appreciated :)

Thanks
Karen

balinor 05-06-2005 03:37 AM

That is because you added three new cells to the lower row, but not the upper row :) Take a look at the template in dreamweaver or use the 'Outline Table Cells' feature in Firefox to see it. The fix is to add two new cells to the upper row, have one of them span the cells with the images in them and move the speedbar code into the new cell.

karentown 05-06-2005 07:02 AM

:oops:

OMG, how dumb am I?? Thanks so much :) I swwear sometimes it is the most obvious things staring you right smack in the face!!


All times are GMT -8. The time now is 03:06 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.