Forums / Templates, Stylesheets, Page Layout / Site too wide for browser

Site too wide for browser

Locked

Views: 2,805

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
14 Dec 2006, 3:31 PM
#1
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Site too wide for browser

I have the purpleshades template and my monitor is widescreen but the website still has to be scrolled left to right to look at the full page.

Could you please take a look at www.icklebits.co.uk and let me know how to get rid of that extra inch or two on the right please?

Thanks.

D

14 Dec 2006, 5:45 PM
#2
bombknex avatar

bombknex

New Zenner

Join Date:
Sep 2006
Location:
Madison, WI
Posts:
54
Plugin Contributions:
0

Re: Site too wide for browser

Hi D,

Try doing something with your** #mainWrapper **in the stylesheet. Maybe adding a max width like so:
max-width:800px

...will help. Or try something else but I think it should be #mainWrapper

Good luck!

  • Jonah
14 Dec 2006, 6:36 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Site too wide for browser

First off, your logo image is 1008 px wide plus the "Tagline here" lurking on the right, so you've written off looking good in 800x600 monitors.

You have tables nested three deep in your header, including one that takes up 200 or so px between the logo and tagline with no apparent purpose. I can see it displayed in view source, but can't tell where it comes from. This is the one causing your immediate problem.

There's not much more I can say without seeing your source files. I'm not familiar enough with the antiquated table system to tell you why the elements bulk up like that.

14 Dec 2006, 8:36 PM
#4
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: Site too wide for browser

Thanks for your replys. I forgot to mention that I'm new to all this and kind of need step by step instructions on how to fix things.

Its the purpleshades template and that's basically as much as I know.

You wanted to see my source files...how do I do that?

(sorry :( )

14 Dec 2006, 9:26 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Site too wide for browser

Ok, I don't have time to really investigate this now, but you do have

<td width="125" valign="top"><a href="./"><img src="includes/templates/purpleshades/images/postage_logo.jpg" alt="Home Page" border="0"></a></td>
<td width="251"> <table align="left" border="0" cellpadding="0" cellspacing="0" width="251">
 

The first td has a width of 125px, but holds an image which is 1008px wide. That may be a problem.

The second td has a width of 251px, and holds(?) a table also defined at 251px wide, but there is no apparent purpose for the whole thing.

There are no tags (classes/IDs) that a stylesheet could use to affect the individual parts here.

Someone familiar with table design will have to sort this out.

30 Mar 2007, 7:26 AM
#6
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: Site too wide for browser

I've still got the same problem and its months on. unfortunately I don't have a clue what the above posts mean!

Could somebody please explain to me in laymans terms?

Thanks in advance!

30 Mar 2007, 7:28 PM
#7
tmc_sherpa avatar

tmc_sherpa

Zen Follower

Join Date:
Mar 2007
Posts:
158
Plugin Contributions:
0

Re: Site too wide for browser

it looks like your using the template for zencart 1.2 instead of 1.3
which version of zencart are you using?

Lazy and willing to work very hard to stay that way

30 Mar 2007, 9:48 PM
#8
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Site too wide for browser

Probably the 1.3.0 Classic template which was still full of tables.
Time to change that as it will be harder to maintain with every new version.

31 Mar 2007, 3:54 PM
#9
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: Site too wide for browser

I've just had an email from a customer saying that the login button on the following page is hidden from view behind the "important links" box. Now I don't understand that as it looks perfectly okay on my screen. See what you can see:

http://icklebits.co.uk/index.php?main_page=login

How do I go about replacing templates?

Thanks

Donna
-x-

2 Apr 2007, 12:31 AM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Site too wide for browser

I don't see the login box hidden either; it may be a certain browser that handles confusing HTML differently than others. There are a bunch of conflicting width directions being given and one interpretation may keep the right sidebar from going as far to the right as it is being pushed. Just a guess.

Checking source I see that it is the Purpleshades template. I don't know how many modifications have been made to it - I suspect not many other than the huge logo, and widening the sideboxes. The original logo space was probably set for about 400px wide and is trying to hold a 1008px image.

Kobra has built a new CSS-based version of Purpleshades, and downloading that may help. It should have instructions in the readme.txt file for installation. Post in the Purpleshades support thread (in Contributed Templates) for help.

You will need to make wider sidebox header & footer background images by editing the present ones in a graphics editor like Photoshop.

2 Apr 2007, 8:36 AM
#11
icklebits avatar

icklebits

Zen Follower

Join Date:
Nov 2006
Posts:
206
Plugin Contributions:
0

Re: Site too wide for browser

The problem with me is that I made modifications following various threads in here ages ago. Unfortunately I never heard about this override thing until way after I altered stuff. I really don't know whats what anymore.

Thanks, will look at that thread!