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

Changing width so that it fits 800x600

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-18-2008, 04:19 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Changing width so that it fits 800x600

My site looks decent at 1024x768, however most of my customers use 800x600 res, (according to my bosses) How can I cahnge my width to accomodate this?

Site: 216.75.30.97
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #2  
Old 03-18-2008, 05:42 AM
 
balinor balinor is offline
 

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

Default Re: Changing width so that it fits 800x600

800x600? Are you serious? Your stats actually say that? In general, the 800x600 crowd represents less than 10% of the market right now...not recommended to optimize for that resolution anymore. But if you absolutely have to, you simply change the Table.Container class to the width you want.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 03-18-2008, 05:48 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 289
 

Default Re: Changing width so that it fits 800x600

I am not a fan of 800x600 either but because the main guy (he's 53) has vision issues, he insists I code it to 800x600...even though i tell him most use 1024x768
__________________
Tool Experts
X-Cart DB Version: 4.1.12 GOLD
Reply With Quote
  #4  
Old 03-18-2008, 06:00 AM
 
balinor balinor is offline
 

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

Default Re: Changing width so that it fits 800x600

Boss is always right eh? Unfortunate, as that severely restricts the number of products you can show 'above the fold'. Tell him he'll make more money by being able to display more products...perhaps that will change his mind
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 04-05-2008, 06:36 PM
 
caliman caliman is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 53
 

Default Re: Changing width so that it fits 800x600

I need to do this as well.

.container only has a height attribute. Where is the width being set for the middle cell?
__________________
Version 4.1.9
Reply With Quote
  #6  
Old 04-05-2008, 06:49 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Changing width so that it fits 800x600

What about adding a width to table.container in skin1/skin1.css...

TABLE.Container {
HEIGHT: 100%;
width:800px; /* example width */
}
__________________
Doms
kube v4.1.9
Reply With Quote
  #7  
Old 04-05-2008, 07:03 PM
 
caliman caliman is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 53
 

Default Re: Changing width so that it fits 800x600

Thanks.
Giving this some thought...
I don't want to hardcode the width.

I still want the 100% that appears to be set in rectangle_top.tpl.

However.. the (center) content cell between the navigation menus on the left and the login menu and cart on the right appears to be hard set.

On my home.php page I don't have anything in the middle except for a few words at the moment and I am unable to shrink the brower down beyond a certain point.

This point is still too far out for 800x600.
__________________
Version 4.1.9
Reply With Quote
  #8  
Old 04-05-2008, 08:12 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Changing width so that it fits 800x600

Quote:
Originally Posted by caliman
I don't want to hardcode the width.

I still want the 100% that appears to be set in rectangle_top.tpl.

However.. the (center) content cell between the navigation menus on the left and the login menu and cart on the right appears to be hard set.

On my home.php page I don't have anything in the middle except for a few words at the moment and I am unable to shrink the brower down beyond a certain point.

This point is still too far out for 800x600.

Sorry, I am confused (which isn't hard). Is the layout something like this? ( See Attached )...

page:100%
left column: fixed.
right column: fixed.
center column: 100%
center column content: fixed

If it is some other way, could you elaborate? A fav website/link - any way you see fit.
Attached Thumbnails
Click image for larger version

Name:	layout-guide.gif
Views:	139
Size:	31.4 KB
ID:	867  
__________________
Doms
kube v4.1.9
Reply With Quote
  #9  
Old 04-05-2008, 08:43 PM
 
caliman caliman is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 53
 

Default Re: Changing width so that it fits 800x600

Interesting where is that fixed 300px set?
That might be what I am talking about.
__________________
Version 4.1.9
Reply With Quote
  #10  
Old 04-05-2008, 09:02 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: Changing width so that it fits 800x600

I created it. I added an extra table inside the center column. But I think I understand your problem better now. When you resize the browser smaller than 800 and there is no content it should still be fluid and have no horizontal scrollbars, is this correct?

...If so, I think something like a dialog box with an image, or a logo, or the footer stops it from being smaller (likely to be a combo).
__________________
Doms
kube v4.1.9
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 02:33 AM.

   

 
X-Cart forums © 2001-2020