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)
-   -   aligning page (or left hand menu) to the left - ADULT SITE (https://forum.x-cart.com/showthread.php?t=4463)

CForrester 09-24-2003 01:18 AM

aligning page (or left hand menu) to the left - ADULT SITE
 
Hi I'm going round-and-round trying to make this site have the left hand menu right up to the left hand side but can't seem to do this either in the head.tpl or categories.tpl
site is at

(thanks to others for noticing that i want to warn other members - this is an ADULT CONTENT SITE - DON'T VIEW AT WORK OR IF YOU ARE UNDER 18....prob. not very good for your immediate employment prospects if found looking during work)

http://www.mrs-cs.co.uk/xcart/customer/home.php


any help appreciated.
thanks
chris

magnumkp 09-24-2003 03:13 AM

In the customer/hometpl there is a 6px column down the left hand side.

funkydunk 09-24-2003 03:27 AM

no idea why xcart put that there...annoying to remove that on every xcart install.

CForrester 09-24-2003 03:49 AM

Hi thanks for posting, i made the column width 0 in the home.tpl (i've got that with <html>
<body RIGHTMARGIN=0 BOTTOMMARGIN=0 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="100%" border="0" cellspacing="0" cellpadding="0" etc etc
in it as it doesn't got right to the top otherwise and looks pants.......but it's still the same distance off the left side
the code is now

<table border=0 width="100%" cellpadding=0 cellspacing=0 align="center">
<tr>
<td class=VertMenuBox width=0></td>
<td class=VertMenuBox width=150 valign=top><font color="#CCCCCC"> {
include file="customer/categories.tpl" } {if $active_modules.Bestsellers ......etc etc

can i access this VertMenuBox class or is it just a css with colours etc in not dimensions / widths ?
I tried left justifying the categories.tpl but that doesn't seem to work either.
i may revisit the original tpl files in the back up dir to see what they're widths are.
:?

funkydunk 09-24-2003 03:52 AM

Quote:

Originally Posted by CForrester
Hi thanks for posting, i made the column width 0 in the home.tpl (i've got that with <html>
<body RIGHTMARGIN=0 BOTTOMMARGIN=0 LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0>
<table width="100%" border="0" cellspacing="0" cellpadding="0" etc etc
in it as it doesn't got right to the top otherwise and looks pants.......but it's still the same distance off the left side
the code is now

<table border=0 width="100%" cellpadding=0 cellspacing=0 align="center">
<tr>
<td class=VertMenuBox width=0></td>
<td class=VertMenuBox width=150 valign=top><font color="#CCCCCC"> {
include file="customer/categories.tpl" } {if $active_modules.Bestsellers ......etc etc

can i access this VertMenuBox class or is it just a css with colours etc in not dimensions / widths ?
I tried left justifying the categories.tpl but that doesn't seem to work either.
i may revisit the original tpl files in the back up dir to see what they're widths are.
:?


Remove the <td class=VertMenuBox width=0></td> and it will work fine

CForrester 09-24-2003 04:40 AM

aligning page (or left hand menu) to the left .....cheers
 
great that worked thanks :D
chris

DogByteMan 09-24-2003 04:51 AM

That line (<td class=VertMenuBox width=6></td>) is located at ....../single/home.tpl if you want to rid it from your admin panel.

CForrester 09-24-2003 07:07 AM

aligning page (or left hand menu) to the left
 
thanks I'll try that too......what does that reference to it in the single/home.tpl do as the /customer/home.tpl seemed to do the trick ?
chris :D

DogByteMan 09-24-2003 07:19 AM

It puts the same annoying spaces before the left menu in your cart admin section

bluecat 11-11-2003 04:51 PM

I'm using 3.4.8, and I deleted that line in "both" files and it didn't do anything. Has this happened to anyone else? I'm talking about this line:
Code:

<td class=VertMenuBox width=6> </td>
in single/home.tpl and customer/home.tpl.


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

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