Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2009
    Posts
    53
    Plugin Contributions
    0

    Default changing width of center column

    Hello,

    this is my site: 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?

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,655
    Plugin Contributions
    25

    Default 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.
    Last edited by kuroi; 10 Mar 2009 at 12:42 PM.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    Kuroi Web Design and Development | Twitter

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

  3. #3
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    19,468
    Plugin Contributions
    3

    Default Re: changing width of center column

    Try changing this width in stylesheet_tm.css:

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

  4. #4
    Join Date
    Feb 2009
    Posts
    53
    Plugin Contributions
    0

    Default Re: changing width of center column

    Quote Originally Posted by stevesh View Post
    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.

 

 

Similar Threads

  1. Center Column Width....problems changing
    By enchantedlingerie in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Mar 2007, 04:23 AM
  2. How to ajust the width of center column?
    By liya in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Mar 2007, 09:02 AM
  3. All product listing & Center column width
    By deker in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 25 Oct 2006, 08:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •