Zen Cart Logo
Forums / General Questions / Site is wider than the page...

Site is wider than the page...

Locked

Views: 882

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
5 Jan 2010, 11:37 PM
#1
vipoptics avatar

vipoptics

New Zenner

Join Date:
Sep 2009
Posts:
17
Plugin Contributions:
0

Site is wider than the page...

Hi, I am having a bit of a problem with my site... On Firefox, on my computer(a laptop), it is the right width, but on SOME PC's it is wider than the screen. I tried it on a few different screens and it seems like there is no rhyme or reason. I need some expert advice and I know I've come to the right place. The site address is www. vipoptics .com

Thanks in advance,
VIP

6 Jan 2010, 9:06 AM
#2
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Site is wider than the page...

Your main header image is set to 1260px wide, so if the resolution of teh screen you are using is less than this, then the page will be wider than the viewable area!

I run a 17" monitor, at 1280 * 1024, and I can see everything, but if you are using a smaller res screen, then you will have problems. Remember, just because the physical screen size is larger, doesn't always mean that the resolution is better.

Absolute

6 Jan 2010, 2:04 PM
#3
vipoptics avatar

vipoptics

New Zenner

Join Date:
Sep 2009
Posts:
17
Plugin Contributions:
0

Re: Site is wider than the page...

Absolute,
Thanks for the response. What would be a good Resolution size to use and how will it look on a wider screen?
Again, thanks for your help,
VIP
Posted via Mobile Device

6 Jan 2010, 4:21 PM
#4
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Site is wider than the page...

Depends entirely on your design. Most of our sites are around 900px wide, set to center of the window. We have a few others which are full width, but the content is then centered within the main body of the design. It's always a bit of a playoff of one thing against the other - do you want a fixed width site with borders, or full width with white space within the design?

Absolute

6 Jan 2010, 4:44 PM
#5
vipoptics avatar

vipoptics

New Zenner

Join Date:
Sep 2009
Posts:
17
Plugin Contributions:
0

Re: Site is wider than the page...

Absolute,
I will try the fixed width, but could you explain what the "full width with white space within the design" is?

Thanks again for the help,
VIP

6 Jan 2010, 10:44 PM
#6
bodyjewelrystores avatar

bodyjewelrystores

Zen Follower

Join Date:
Jun 2006
Posts:
123
Plugin Contributions:
0

Re: Site is wider than the page...

I'm guessing this means a flexible-width site (where the width resizes according to monitor/browser window size) - in this case, the bigger the viewspace, the more blank space would appear within your design as it resizes

A hybrid approach can be achieved with the css max-width attribute... this basically makes your template resize along with the browser window size, but only up to a certain width, in order to avoid too much white space messing up your design and readability. I think I've seen a few zen cart templates around that do this.

But yes, it all depends on your design. It's fairly safe to consider 1024x768 to be a "low common denominator" monitor resolution these days, so if you're doing a fixed width design, 900px to 960px is a good width (to accomodate window borders and scrollbars, while still having at least minimal margins to avoid looking "crammed").