Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to change width of center box?

How to change width of center box?

Views: 2,794

Results 1 to 10 of 10
11 Oct 2010, 4:06 AM
#1
juli_may avatar

juli_may

New Zenner

Join Date:
Oct 2010
Posts:
9
Plugin Contributions:
0

How to change width of center box?

Hello guys!
I'm new to Zen Cart and trying to do my first shop.
I'm actually doing no good trying to change the width of my center box. I'll post a picture so you'll understand what iam trying to do.
I want it to look wide, like this:

I'm using:
Zen Cart 1.3.8a
Database Patch Level: 1.3.8

Template: Free template 2

Please anyone? :dontgetit

11 Oct 2010, 4:08 AM
#2
kobra avatar

kobra

Black Belt

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

Re: How to change width of center box?

link to where you have this

11 Oct 2010, 4:17 AM
#4
kobra avatar

kobra

Black Belt

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

Re: How to change width of center box?

The center column is not directly adjustable as it is what remains after the left & right use what they need from a total width definition

Edit this templates stylesheet.css file and find and adjust to suit

#mainWrapper {
text-align: left;
vertical-align: top;
width:950px; /* sets the width of the store */
background-color:#fff; /* gives the store a white background */
}
11 Oct 2010, 4:24 AM
#5
juli_may avatar

juli_may

New Zenner

Join Date:
Oct 2010
Posts:
9
Plugin Contributions:
0

Re: How to change width of center box?

But the left and right columns are set to 200px. So theres room enough for the center look wider...
Should i change 950px to what size so they look wider?

11 Oct 2010, 4:30 AM
#6
kobra avatar

kobra

Black Belt

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

Re: How to change width of center box?

Make sure that the Boxes width match the column width settings

11 Oct 2010, 4:47 AM
#7
juli_may avatar

juli_may

New Zenner

Join Date:
Oct 2010
Posts:
9
Plugin Contributions:
0

Re: How to change width of center box?

Oh it worked ! Thanks!!! :clap:

20 Feb 2011, 10:52 AM
#8
oredayo avatar

oredayo

New Zenner

Join Date:
Oct 2010
Posts:
61
Plugin Contributions:
0

Re: How to change width of center box?

I followed every thing but where is located this stylesheet.css file?
Thank you.

20 Feb 2011, 11:15 AM
#9
schoolboy avatar

schoolboy

Totally Zenned

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

Re: How to change width of center box?

Oredayo:

I followed every thing but where is located this stylesheet.css file?
Thank you.

Show us a link to your site... Some custom templates use edited styles. We will need to see the site to determine this.

15 Jun 2013, 3:16 PM
#10
romy avatar

romy

New Zenner

Join Date:
May 2007
Location:
york, pa
Posts:
98
Plugin Contributions:
0

Re: How to change width of center box?

Hello,
I get this on my center box.
http://chessvideo.com/combochessspecials-c-46.html

how do I get it to fit correctly

Thanks