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 / Catagory Width - Sorry, new to this whole thing

Catagory Width - Sorry, new to this whole thing

Locked

Started by jtlswan on 1 Oct 2006, 6:04 PM · Views: 1,239

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
1 Oct 2006, 6:04 PM
#1
jtlswan avatar

jtlswan

New Zenner

Join Date:
May 2006
Location:
Orangeburg, SC
Posts:
72
Plugin Contributions:
0

Post #1 by jtlswan

I am new to this whole template style changing thing. I have been searching the forum for the past 6 days looking for an answer to this question, so I'm sorry if this has been posted before, but I can't find the answer anywhere. I understand that my problem can be fixed in the css file of the template but it's not clear to me as to where its at or what its called. I want to change the width of the left side catagory colum. The catagory column is on the left side of the page, so, I want to make the right side of the catagory column wider to fit longer catagory words instead of them going to a new line. I hope I am making sense? Despite what my wife would say, I hope so. Thank for anyones help on this. :down:

1 Oct 2006, 6:18 PM
#2
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Post #2 by superprg

You would change the width here in
includes\templates\classic\common\tpl_box_default_left.php

<!--// bof: <?php echo $box_id; ?> //-->
<table width="<?php echo $column_width; ?>" border="0" cellspacing="0" cellpadding="0" class="leftbox" id="<?php echo str_replace('_', '-', $box_id) . '-table'; ?>">
  <tr class="leftboxheading" id="<?php echo str_replace('_', '-', $box_id) . '-heading-tr'; ?>">

in place of $column_width, say 160 etc

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

1 Oct 2006, 6:38 PM
#3
jtlswan avatar

jtlswan

New Zenner

Join Date:
May 2006
Location:
Orangeburg, SC
Posts:
72
Plugin Contributions:
0

Post #3 by jtlswan

It's still not working. Plus, my tpl_box_default_ left.php is located in includes\templates\template_default\common. I think I should have mentioned that I am using another template (Sage). Sorry. That does not have a file called tpl_box_default_left.php in it either. I also am using the latest ZenCart as well.

1 Oct 2006, 8:15 PM
#4
jtlswan avatar

jtlswan

New Zenner

Join Date:
May 2006
Location:
Orangeburg, SC
Posts:
72
Plugin Contributions:
0

Post #4 by jtlswan

ok, i found the left column width, changed it and it works, but the category width that is contained in the left column is still the same...thats my main concern to change it's width :no:

1 Oct 2006, 10:17 PM
#5
kobra avatar

kobra

Black Belt

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

Post #5 by kobra

It would be easier to not touch the files. Use the admin functions instead.

admin > config > Layout Settings > Column Width - Left Boxes

and

admin > config > Layout Settings > Column Width - Left

Just insure that the Column Width is greater or equal to the box width

Zen-Venom Get Bitten

1 Oct 2006, 10:23 PM
#6
jtlswan avatar

jtlswan

New Zenner

Join Date:
May 2006
Location:
Orangeburg, SC
Posts:
72
Plugin Contributions:
0

Post #6 by jtlswan

Cool!!! Thank you!!! That did it!!!:P