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)
-   -   Extending Vertical Menu Background Colour (https://forum.x-cart.com/showthread.php?t=16572)

tracey_ccishop 09-13-2005 05:49 PM

Extending Vertical Menu Background Colour
 
Hi, does anyone know how I can increase the length of our vertical menu so that it acts like a border for the full length of each page?
Thanks

balinor 09-14-2005 04:13 AM

Are you talking about the left hand menu table cell?

tracey_ccishop 09-14-2005 07:34 PM

I sure am. Each page is a different length so not sure how I can accommodate making the menu stretch to suit each page size.
Thanks

balinor 09-15-2005 03:36 AM

Try making that table cell height="100%"

tracey_ccishop 09-15-2005 09:11 PM

Having trouble working out which template includes the table with the menu content, is it customer/home/tpl? Which I have tried, but when I try to save it, I get the error message the "operation is (sic) failed".
Also to put a border down the right side of the page, is which template would I put the table?
Thanks

balinor 09-16-2005 03:37 AM

Both would be customer/home.tpl. If you can't save the file, it means the template doesn't have write permissions, be sure to change them to 666 to work on them.

tracey_ccishop 09-16-2005 06:50 PM

Thanks. I can edit the code in Dreamweaver and upload it from there ok. No other files have this problem.

tracey_ccishop 09-16-2005 07:04 PM

Sorry, meant to add this my last post....javascript:emoticon(':roll:')
Rolling Eyes

Following is my code for the table that has the menu information in it from home.tpl. Ive added the height="100%" in the cell that contains the menu, but it doesnt change the length. It works for the right side column but not the left, what am I missing?
Thanks


<TABLE width="760" border="0" cellpadding="0" cellspacing="0">
<TR>
<TD height="100%" width="160" valign="top">
{if $categories ne "" and ($active_modules.Fancy_Categories ne "" or $config.General.root_categories eq "Y" or $subcategories ne "")}
{ include file="customer/categories.tpl" }
{/if}
{include file="help.tpl"}
{include file="auth.tpl"}
</TD>
<TD width="10">[img]{$ImagesDir}/spacer.gif[/img]</TD>
<TD valign="top">
{include file="location.tpl"}
{include file="dialog_message.tpl"}
{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}
{include file="customer/home_main.tpl"}
</TD>
<TD width="5" valign="top" bgcolor="#9900cc" height="100%"></TD>
</TR>
<TR>
<TD colspan="4">
{ include file="poweredby.tpl" }
</TD>
</TR>
</TABLE>

balinor 09-17-2005 04:27 AM

It does extend 100% you just don't have the background color set to purple :) Replace this line:

<TD height="100%" width="160" valign="top">

with this:

<TD height="100%" width="160" valign="top" bgcolor="#9900cc">

tracey_ccishop 09-17-2005 02:48 PM

You must have the patience of a saint!
Thanks again.
javascript:emoticon(':D')
Very Happy


All times are GMT -8. The time now is 11:28 PM.

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