Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Please Help- How to change the size of the middle column of the site?

Please Help- How to change the size of the middle column of the site?

Locked
This thread is locked. New replies are disabled.
27 Aug 2009, 6:40 PM
#1
t3z06 avatar

t3z06

New Zenner

Join Date:
Sep 2006
Location:
Maryland-USA
Posts:
13
Plugin Contributions:
0

Post #1 by t3z06

Can you please tell me how to fix the middlecolumn part of my site. I do not want the outisde columns to be sooo thick?
How do I make the inside wider?
I have tried everything and nothing is working.

Please tell me where I may fix this?
Any help would be greatly appreciated...
THANKS SO MUCH!!!!

27 Aug 2009, 7:17 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

One does not adjust the center

I do not want the outisde columns to be sooo thick?
you can adjust the left and right in the admin > config > layout settings

Zen-Venom Get Bitten

27 Aug 2009, 8:18 PM
#3
t3z06 avatar

t3z06

New Zenner

Join Date:
Sep 2006
Location:
Maryland-USA
Posts:
13
Plugin Contributions:
0

Post #3 by t3z06

kobra:

One does not adjust the center

you can adjust the left and right in the admin > config > layout settings

Hello,
I've tried and it doesn't budge. It seems like when I try to edit it, it mkaes the smaller even smaller and the outside columns, huge.
https://www.DisneySmilesStore.com

27 Aug 2009, 8:27 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #4 by kobra

Your image is 480px wide you can shrink it

What are your setting values for
admin > config > layout settings > Column Width - Left Boxes =
admin > config > layout settings > Column Width - Right Boxes =
admin > config > layout settings > Column Width - Left =
admin > config > layout settings > Column Width - Right =

Zen-Venom Get Bitten

28 Aug 2009, 1:14 PM
#5
t3z06 avatar

t3z06

New Zenner

Join Date:
Sep 2006
Location:
Maryland-USA
Posts:
13
Plugin Contributions:
0

Post #5 by t3z06

kobra:

Your image is 480px wide you can shrink it

What are your setting values for
admin > config > layout settings > Column Width - Left Boxes = 150
admin > config > layout settings > Column Width - Right Boxes =150
admin > config > layout settings > Column Width - Left =80
admin > config > layout settings > Column Width - Right =80

Hello Good Morning!
Thank you for responding.
I filled them out above. No matter what I change them to, they do not change.
I want to make the red area smaller. Like maybe only 100 to 150 PX wide.
Can you help me?.

Thanks again.

28 Aug 2009, 2:44 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #6 by schoolboy

The standard zencart template consists of:

------------------------- HEADER --------------------------

LEFT COLUMN --- CENTRE COLUMN --- RIGHT COLUMN

------------------------- FOOTER --------------------------

These are encased within the MAINWRAPPER...

The various column widths are RELATIVE to each other, AND relative to the Main Wrapper width...

If your MAIN WRAPPER is 750px wide, and
Your LEFT COLUMN is 150 px wide, and
Your RIGHT COLUMN is 100px wide...

Your CENTRE COLUMN will be 750 - (150+100) px wide = 500px.


IF you want your LEFT and RIGHT columns to remain as they are (150 and 100), but you want your CENTRE COLUMN to be 600 instead of 500, then you must increase your MAIN WRAPPER by 100 px - (from 750 to 850).

WHEN your MAIN WRAPPER is 850px wide, and
Your LEFT COLUMN is 150 px wide, and
Your RIGHT COLUMN is 100px wide...

Your CENTRE COLUMN will be 850 - (150+100) px wide = 600px

20 years a Zencart User

28 Aug 2009, 2:55 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #7 by schoolboy

... but remember... Your HEADER logos will be affected too. Because header is encased in MainWrapper...

If your logo and/or header_bg was 750px wide, you may need to increase their width to 800px to prevent them from "tiling".

20 years a Zencart User

28 Aug 2009, 4:46 PM
#8
t3z06 avatar

t3z06

New Zenner

Join Date:
Sep 2006
Location:
Maryland-USA
Posts:
13
Plugin Contributions:
0

Post #8 by t3z06

schoolboy:

The standard zencart template consists of:

------------------------- HEADER --------------------------

LEFT COLUMN --- CENTRE COLUMN --- RIGHT COLUMN

------------------------- FOOTER --------------------------

These are encased within the MAINWRAPPER...

The various column widths are RELATIVE to each other, AND relative to the Main Wrapper width...

If your MAIN WRAPPER is 750px wide, and
Your LEFT COLUMN is 150 px wide, and
Your RIGHT COLUMN is 100px wide...

Your CENTRE COLUMN will be 750 - (150+100) px wide = 500px.


IF you want your LEFT and RIGHT columns to remain as they are (150 and 100), but you want your CENTRE COLUMN to be 600 instead of 500, then you must increase your MAIN WRAPPER by 100 px - (from 750 to 850).

WHEN your MAIN WRAPPER is 850px wide, and
Your LEFT COLUMN is 150 px wide, and
Your RIGHT COLUMN is 100px wide...

Your CENTRE COLUMN will be 850 - (150+100) px wide = 600px

Thanks for responding.
I am so lost.
The designer bailed on me so she did this stuff.

How do I get there?
Where is the wrapper Located?
THX

28 Aug 2009, 5:52 PM
#9
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #9 by schoolboy

Look for #mainWrapper in your stylesheet

20 years a Zencart User

28 Aug 2009, 6:10 PM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #10 by schoolboy

Your HTML source reveals:

<link rel="stylesheet" type="text/css" href="includes/templates/mtemplate/css/stylesheet-OLD8.css" /> <link rel="stylesheet" type="text/css" href="includes/templates/mtemplate/css/stylesheet.css" />

Which means you have 2 stylesheets competing with each other.

I have also tried an offline edit of stylesheet.css, but the right column is still nudging over the mainwrapper edges.

What other files have been edited?

I also believe that your ZC version is 1.3.0.2 (or around that version) so it is very old.

Your images are also loading very slowly...

There seems to be a large number of issues with your current site and its settings. I suggest you get hold of your designer to discuss these - and I would strongly recommend an upgrade...

20 years a Zencart User

28 Aug 2009, 6:10 PM
#11
t3z06 avatar

t3z06

New Zenner

Join Date:
Sep 2006
Location:
Maryland-USA
Posts:
13
Plugin Contributions:
0

Post #11 by t3z06

schoolboy:

Look for #mainWrapper in your stylesheet

Sorry to sound so out of it (WHICH I AM because I have no bloody clue how to configure this thing), but,
Where might I find the Style Sheet? Is this in the back office part of it?

28 Aug 2009, 6:28 PM
#12
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Post #12 by schoolboy

Ok... it looks like you're going through a tough learning curve... Don't worry - we were all there once.

Unfortunately, there seems to be a number of issues with the site which will be time-consuming to analyse/diagnose and fix, and it's doubtful that those of us who help regularly on the forum will have the time to do this pro-bono. We'll also have to teach you the ropes, or you can go thru the faq/tutorials yourself...

If your original designer is no longer available, then you can post for commercial help wanted.

Send me a PM if you'd like me to take a detailed look.

20 years a Zencart User

30 Aug 2009, 7:13 PM
#13
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #13 by kobra

Column Width - Left Boxes = 150
Column Width - Right Boxes =150
Column Width - Left =80
Column Width - Right =80

The width of your boxes are 150px and these are to be contained/inside the respective columns that you have set to 80px...

Not enough room at 80px to house a box that is 150px

Change these to be at least equal - respectively for l & r

Zen-Venom Get Bitten

2 Sep 2009, 1:46 PM
#14
t3z06 avatar

t3z06

New Zenner

Join Date:
Sep 2006
Location:
Maryland-USA
Posts:
13
Plugin Contributions:
0

Post #14 by t3z06

kobra:

Column Width - Left Boxes = 150
Column Width - Right Boxes =150
Column Width - Left =80
Column Width - Right =80

> The width of your boxes are 150px and these are to be contained/inside the respective columns that you have set to 80px...
> 
> Not enough room at 80px to house a box that is 150px
> 
> Change these to be at least equal - respectively for l & r
Unfortunately, that did not help either. :(
Thanks.
2 Sep 2009, 2:22 PM
#15
gjh42 avatar

gjh42

Black Belt

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

Post #15 by gjh42

You have a 0.4em (4px) padding in sideboxes, so the columns need to be set at least 8px wider than the boxes.
In your stylesheet.css, find these sections```
/wrappers - page or section containers/
#mainWrapper {
background-color: #FFFFFF;
text-align: left;
width: 808px;/change this width from 755px to 808px or more/
vertical-align: top;
}

#navMainWrapper, #navSuppWrapper, #navCatTabsWrapper {
	margin: 0em;
	background-color: #9a9a9a;
	font-weight: bold;
	color: #ffffff;
	height: 1%;
	width: 755px; <-delete the width here
	}
```
Pasting these into your stylesheet temporarily will show that these widths work well:

#navColumnOne, #navColumnTwo {width: 150px !important;} 
.leftBoxContainer, .rightBoxContainer {width: 142px !important;}

Set left & right columns to 150px and left & right boxes to 142px in your admin > Configuration > Layout Settings.

And delete the stylesheet_OLD8.css. If you want to save it, save it elsewhere, like on your home computer.