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

Width of X-Cart Site

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-26-2007, 09:00 AM
 
nft nft is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Sydney, Australia
Posts: 52
 

Default Width of X-Cart Site

Hi All,
I am currently looking at the best option to set the width for my site by modifying customer/home.tpl

The width was set at 100% by default which results in stretching the site in excess when viewing the site at higher resolutions i.e. With a 22" monitor.

I have modified customer/home.tpl to set the width at 1100px, however this means that the site does not fit the page on lower resolution i.e. Laptop with 15" display.

Does anyone know of a mod to best combat the site width? Maybe there is a mod available that sets the site width at 100% but maximum 1100 Pixels?

Any help is appreciated.


James
__________________
X-Cart Pro 4.1.9
FreeBSD
Apache
MySQL 5
PHP 4.4.8
Reply With Quote
  #2  
Old 02-26-2007, 09:04 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default Re: Width of X-Cart Site

The overall width is controlled initially by the rectangle_top.tpl template.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 02-26-2007, 09:06 AM
 
balinor balinor is offline
 

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

Default Re: Width of X-Cart Site

Either use fluid (100%) or a fixed width that will fit the majority of today's browsers. We are currently using 950px, which fits nicely on a 1024x768 resolution and accounts for some side menus or the screen not maximized.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 02-26-2007, 10:25 AM
 
nft nft is offline
 

Advanced Member
  
Join Date: Apr 2004
Location: Sydney, Australia
Posts: 52
 

Default Re: Width of X-Cart Site

Thanksfor the info. Will have a play around and see what happens.

James
__________________
X-Cart Pro 4.1.9
FreeBSD
Apache
MySQL 5
PHP 4.4.8
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:11 AM.

   

 
X-Cart forums © 2001-2020