Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Extending Vertical Menu Background Colour

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-13-2005, 05:49 PM
 
tracey_ccishop tracey_ccishop is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 55
 

Default 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
__________________
Thanks,
www.ccishop.com
X-Cart Gold v4.0.14
Reply With Quote
  #2  
Old 09-14-2005, 04:13 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Are you talking about the left hand menu table cell?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-14-2005, 07:34 PM
 
tracey_ccishop tracey_ccishop is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 55
 

Default

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
__________________
Thanks,
www.ccishop.com
X-Cart Gold v4.0.14
Reply With Quote
  #4  
Old 09-15-2005, 03:36 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Try making that table cell height="100%"
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 09-15-2005, 09:11 PM
 
tracey_ccishop tracey_ccishop is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 55
 

Default

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
__________________
Thanks,
www.ccishop.com
X-Cart Gold v4.0.14
Reply With Quote
  #6  
Old 09-16-2005, 03:37 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 09-16-2005, 06:50 PM
 
tracey_ccishop tracey_ccishop is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 55
 

Default

Thanks. I can edit the code in Dreamweaver and upload it from there ok. No other files have this problem.
__________________
Thanks,
www.ccishop.com
X-Cart Gold v4.0.14
Reply With Quote
  #8  
Old 09-16-2005, 07:04 PM
 
tracey_ccishop tracey_ccishop is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 55
 

Default

Sorry, meant to add this my last post....javascript:emoticon('')
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>
__________________
Thanks,
www.ccishop.com
X-Cart Gold v4.0.14
Reply With Quote
  #9  
Old 09-17-2005, 04:27 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

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">
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #10  
Old 09-17-2005, 02:48 PM
 
tracey_ccishop tracey_ccishop is offline
 

Advanced Member
  
Join Date: Aug 2005
Posts: 55
 

Default

You must have the patience of a saint!
Thanks again.
javascript:emoticon('')
Very Happy
__________________
Thanks,
www.ccishop.com
X-Cart Gold v4.0.14
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:47 PM.

   

 
X-Cart forums © 2001-2020