![]() |
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 |
Are you talking about the left hand menu table cell?
|
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 |
Try making that table cell height="100%"
|
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 |
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.
|
Thanks. I can edit the code in Dreamweaver and upload it from there ok. No other files have this problem.
|
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> |
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"> |
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.