Forums / Templates, Stylesheets, Page Layout / changing width of center column

changing width of center column

Locked

Views: 2,129

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 Mar 2009, 11:05 AM
#1
koenvandamme avatar

koenvandamme

New Zenner

Join Date:
Feb 2009
Posts:
53
Plugin Contributions:
0

changing width of center column

Hello,

this is my site: https://www.mylittletoy.com/index.php (under construction).
I am using a template from templatemonster.com.

I made the center column wider by changing:
.main_w {width:766px; margin:auto;}
into
.main_w {width:866px; margin:auto;}

However, the column did get wider but the content stayed in the same place, so basically I added some white space to the right (see screenshot).

Is there anything I can do the widen the content also?

10 Mar 2009, 11:38 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: changing width of center column

In a normal Zen Cart template this wouldn't be an issue as the content would expand to fill the space available.

Template Monster templates tend to be more fragile and less flexible. There's lots of extra markup in this template making it much more difficult to see what needs to be changed. The sceenshot is helpful for understanding what you are trying to achieve, but since you appear to have removed the problem, and the page now looks a bit different, it's difficult for us to identify what might be changed to resolve it.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

10 Mar 2009, 11:54 AM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: changing width of center column

Try changing this width in stylesheet_tm.css:

.cen_pad {padding:0px 19px; width:364px;}

10 Mar 2009, 1:59 PM
#4
koenvandamme avatar

koenvandamme

New Zenner

Join Date:
Feb 2009
Posts:
53
Plugin Contributions:
0

Re: changing width of center column

stevesh:

Try changing this width in stylesheet_tm.css:

.cen_pad {padding:0px 19px; width:364px;}

Wow. Thanks. That did it. Funny thing is, now I remember fixing that width a couple of days ago due to some other issues.

Thanks again.