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

Automatically adjust the site

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-27-2008, 07:14 PM
 
rick2003 rick2003 is offline
 

Member
  
Join Date: Jan 2008
Posts: 20
 

Default Automatically adjust the site

Hi,

Does anyone have the code so that the site will automatically adjust to any solution.

or is that any file which i can edit.

i try to fit my site into 1024 * 780 solution

please check www.lywoo.com, any suggestion please?

thanks,


__________________
Version 4.1.9
Highly Modified X-cart

www.lywoo.com
Reply With Quote
  #2  
Old 01-27-2008, 11:19 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Automatically adjust the site

The size of the site is controlled by the container class in your CSS file, so you can set that to 1024. If you have images that are wider than 1024 the site will be wider than that tho.

It looks like the thumbnails in the featured products, plus the ends of your search bar are pushing the site beyond the 1024 size.

You could probably get it to fit if you coded the featured products.tpl so that the featured products dialog bar and the thumbnails were the same size.. You could also play with the padding of the thumbnails themselves, or make your thumbnails smaller.
__________________
xcart 5.1.2
Reply With Quote
  #3  
Old 01-28-2008, 04:06 AM
 
balinor balinor is offline
 

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

Default Re: Automatically adjust the site

I typically design to 975px wide these days. That allows someone on a 1024 wide display (the most common currently) to see the whole thing, even if they have a side toolbar. There is no reason to design smaller than that, and I personally don't like 'fluid' displays, which adjust to 100% of the browser's width. You can't fit any more columns of products in, so why make the site look awful on a screen at 1900px wide?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 02-19-2009, 01:23 AM
  vasilis's Avatar 
vasilis vasilis is offline
 

X-Adept
  
Join Date: Feb 2009
Posts: 761
 

Default Re: Automatically adjust the site

what if you modify the SkinWidth value in skin1.conf file in /skin1 directory? Isn't that a quicker way to change the site width ? What is the difference between this method and the one by which you change the 'Container' class width?
__________________
Vasilis Vrontisis
X-Cart Development, Maintenance & Customization
https://[URL="http://www.craftforweb.com"]craftforweb.com[/url]
vasilis@craftforweb.com
Reply With Quote
  #5  
Old 02-19-2009, 02:15 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Automatically adjust the site

Quote:
Originally Posted by vasilis
what if you modify the SkinWidth value in skin1.conf file in /skin1 directory? Isn't that a quicker way to change the site width ? What is the difference between this method and the one by which you change the 'Container' class width?
As you are on 4.2.0 your template has no Container class at all since all versions prior to 4.2.0 have table layout but 4.2.0 is tableless
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
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 02:01 PM.

   

 
X-Cart forums © 2001-2020