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)
-   -   Automatically adjust the site (https://forum.x-cart.com/showthread.php?t=37087)

rick2003 01-27-2008 07:14 PM

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,



ARW VISIONS 01-27-2008 11:19 PM

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.

balinor 01-28-2008 04:06 AM

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?

vasilis 02-19-2009 01:23 AM

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?

Victor D 02-19-2009 02:15 AM

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


All times are GMT -8. The time now is 09:25 AM.

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