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

Resolution Issues

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-04-2008, 07:32 PM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Resolution Issues

I'm having problems setting my page layout. Is there anyway to set your page to display the same with any resolution. What I'm having problems with is at lower resolutions the page is huge and you have to use a bottom scroll bar to see the site. At higher resolutions the site looks great.

This is the code I have in my rectangle_top.tpl

Code:
{* $Id: rectangle_top.tpl,v 1.25 2006/02/07 08:09:51 max Exp $ *} <table class="Container" cellpadding="0" cellspacing="0" width="{$width|default:"80%"}" align="center"> <tr><td class="Container">

I've tried to set it to px as well but it does not help with the scrolling problem.

I also currently have
Code:
Content enviroment styles */ TABLE.Container { width: 80%; margin-left: auto; margin-right: auto; background-color: #FFFFFF; } TD.Container { VERTICAL-ALIGN: top; HEIGHT: 90%; } TD.Container { VERTICAL-ALIGN: top; HEIGHT: 90%; } TD.Container { VERTICAL-ALIGN: top; HEIGHT: 90%; } /*

I've tried removing some of that in hopes that maybe the 2 were conflicting with each other.

Any suggestions on how to fix this? Or is it even possible?
__________________
X-Cart DB Version: 5
Reply With Quote
  #2  
Old 10-12-2008, 10:36 AM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Resolution Issues

Does anyone know how to fix this problem? If I have my resolution at 1024x768 the screen is HUGE and I have to use a scrolling bar along the bottom to view the site.
__________________
X-Cart DB Version: 5
Reply With Quote
  #3  
Old 10-12-2008, 01:19 PM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Resolution Issues

Try setting TABLE.Container to a fixed width....

TABLE.Container { width: 800px; margin-left: auto; margin-right: auto; background-color: #FFFFFF; }

Experiment with the width until you get what you want.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #4  
Old 10-12-2008, 06:36 PM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Resolution Issues

I change the width many times and once it gets passed a certain point it will no longer shrink the page...
__________________
X-Cart DB Version: 5
Reply With Quote
  #5  
Old 10-13-2008, 03:56 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Resolution Issues

Do you really have 3 of TD.Container class listed in your css? If so, get rid of 2.
In your css, does "body" have a width specified?
Are you loading an image, maybe a background that is wider than what you want?
Do you have a link to the site so I can see what you are talking about?
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #6  
Old 10-13-2008, 09:28 AM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Resolution Issues

Ok I got it! When you said Image I thought maybe it had something to do with the images on the top. Turns out I moved my search bar to the right and my speed bar down on the same line. I just had to many buttons in my speed bar and it was forcing the screen larger then what I was asking it to do. Thanks for all the help!
__________________
X-Cart DB Version: 5
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 09:40 AM.

   

 
X-Cart forums © 2001-2020