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)
-   -   Colouring Tables (https://forum.x-cart.com/showthread.php?t=36844)

antonywalsh 01-18-2008 07:44 AM

Colouring Tables
 
I have altered the menu_customer.tpl page to colour the tables within the vertical menu. But I still have some white lines that I can not get ride of. see the page http://www.pinkandcream.com/home.php?cat=253. Can someone help how to get rid of these white lines at the end of each menu. I cannot change anymore of the background colour in menu_customer.tple because it then changes the colour of the main menu etc.

This is my code of menu_customer.tpl

<table cellpadding="0" cellspacing="0" width="180">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="180">
{if $style eq "Categories" and $main eq "catalog" and $current_category.category eq ""}
<tr>
<td class="VertMenuCatWelcTitle" height="29" valign="bottom">
<img src="{$ImagesDir}/spacer.gif" width="17" height="1" alt="" />
{if $link_href}
<a href="{$link_href}"><font class="VertMenuCatWelcTitle">{$menu_title}</font></a>
{else}
<font class="VertMenuCatWelcBoxNewsTitle">{$menu_title}< /font>
{/if}
</td>
</tr>
<tr>
<td class="VertMenuCatWelcSeparator"><img src="{$ImagesDir}/customer_images/vert_blmenuwelc_sp.gif" width="32" height="9" alt="" /></td>
</tr>
<tr>
<td class="VertMenuCatWelcBox">
<table cellpadding="5" cellspacing="0" width="100%">
<tr>
{elseif $style eq "Categories" }
<tr>
<td class="VertMenuCatTitle" height="29" valign="bottom">
<img src="{$ImagesDir}/spacer.gif" width="27" height="1" alt="" />
{if $link_href}
<a href="{$link_href}"><font class="VertMenuCatWelcTitle">{$menu_title}</font></a>
{else}
<font class="VertMenuCatBoxNewsTitle">{$menu_title}</font>
{/if}
</td>
</tr>
<tr>
<td class="VertMenuCatSeparator"><img src="{$ImagesDir}/customer_images/vert_blmenu_sp.gif" width="32" height="9" alt="" /></td>
</tr>
<tr>
<td class="VertMenuCatBox">
<table cellpadding="5" cellspacing="0" width="100%">
<tr>
{else}
<tr>
<td height="29" valign="bottom" bgcolor="feffcc" class="VertMenuTitle">
<img src="{$ImagesDir}/spacer.gif" width="20" height="1" alt="" />
{if $link_href}
<a href="{$link_href}"><font class="VertMenuTitle">{$menu_title}</font></a>
{else}
<font class="VertMenuBoxNewsTitle">{$menu_title}</font>
{/if} </td>
</tr>
<tr>
{if $style eq "Cart"}
<td bgcolor="feffcc" class="VertMenuCartSeparator"><img src="{$ImagesDir}/customer_images/vert_cartmenu_sp.gif" width="20" height="9" alt="" /></td>
{else}
<td class="VertMenuSeparator"><img src="{$ImagesDir}/customer_images/vert_menu_sp.gif" width="20" height="9" alt="" /></td>
{/if}
</tr>
<tr>
<td bgcolor="feffcc" class="VertMenuBox">
<table cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="feffcc">
{if $style ne "Cart" and $hide_border ne "Y"}
<td><img src="{$ImagesDir}/spacer.gif" width="8" height="1" alt="" /></td>
{/if}
{if not $hide_bullets}
<td class="VertMenuBullets"><img src="{$ImagesDir}/spacer.gif" alt="" /></td>
{/if}
{/if}
<td width="100%">{$menu_content}</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>

I would very much appreciate if somebody can help me out on this.

Also on the same point how would I change the height of this menu that if I had 30 products listed and it went below the left menu the left menu colour would expand to the length of the page.

Many thanks

balinor 01-18-2008 10:21 AM

Re: Colouring Tables
 
Why not just color the whole background of that left hand container cell instead of the individual menus?

antonywalsh 01-18-2008 11:44 AM

Re: Colouring Tables
 
I did not colour the individual tables in the menu_customer page its made up of one table and many rows. If I colour just the rows I need it leaves white spaces if I BG colour the whole table it then colours the categories menu which I dont want. see www.pinkandcream.com/home.php

antonywalsh 01-18-2008 06:57 PM

Re: Colouring Tables
 
For hours now I have tried everything, can please someone help before I get old and grey.

I have change the vertmenu background colours in the skin1_c.css page, I have taken away all the spaces, I have changed the menu_customer.tpl page and colured the table that the menus are in and still there white gaps.

Has anyone some suggestions.

Please look at the example page. http://www.pinkandcream.com/home.php?cat=253

sk8conz 01-18-2008 08:24 PM

Re: Colouring Tables
 
Use the webmaster mode to see what tpl files are used. I think the menu items like special offers and most popular call different files as they are optional.


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

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