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

aligning page (or left hand menu) to the left - ADULT SITE

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-24-2003, 01:18 AM
 
CForrester CForrester is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 46
 

Default 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
Reply With Quote
  #2  
Old 09-24-2003, 03:13 AM
 
magnumkp magnumkp is offline
 

eXpert
  
Join Date: Apr 2003
Location: England
Posts: 304
 

Default

In the customer/hometpl there is a 6px column down the left hand side.
Reply With Quote
  #3  
Old 09-24-2003, 03:27 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

no idea why xcart put that there...annoying to remove that on every xcart install.
__________________
ex x-cart guru
Reply With Quote
  #4  
Old 09-24-2003, 03:49 AM
 
CForrester CForrester is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 46
 

Default

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.
Reply With Quote
  #5  
Old 09-24-2003, 03:52 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

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
__________________
ex x-cart guru
Reply With Quote
  #6  
Old 09-24-2003, 04:40 AM
 
CForrester CForrester is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 46
 

Default aligning page (or left hand menu) to the left .....cheers

great that worked thanks
chris
Reply With Quote
  #7  
Old 09-24-2003, 04:51 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

That line (<td class=VertMenuBox width=6></td>) is located at ....../single/home.tpl if you want to rid it from your admin panel.
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #8  
Old 09-24-2003, 07:07 AM
 
CForrester CForrester is offline
 

Advanced Member
  
Join Date: Jul 2003
Posts: 46
 

Default 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
Reply With Quote
  #9  
Old 09-24-2003, 07:19 AM
  DogByteMan's Avatar 
DogByteMan DogByteMan is offline
 

X-Adept
  
Join Date: Mar 2003
Posts: 833
 

Default

It puts the same annoying spaces before the left menu in your cart admin section
__________________
Dedicated Server provided by EWD Hosting
X-Cart version 4.1.12
PHP 5.3.2
MySQL server 5.0.87-community
Operation system Linux
Perl 5.008008
dogbytecomputer.com
Reply With Quote
  #10  
Old 11-11-2003, 04:51 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

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.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 05:03 PM.

   

 
X-Cart forums © 2001-2020