| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
How to resize the "Categories" box | ||||
![]() |
|
|||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I've looked at the "skin1.css" and "customer/categories.tpl" file but couldn't find out where to resize the "Categories" box. Any help would be greatly appreciated.
Thanks -Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
|
#2
|
|||||||
|
|||||||
|
It is menu.tpl that controls the categories in the side menu, and that defaults to the width of the table cell in home.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
Thanks so much, Padraic.
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
|
#4
|
|||||||
|
|||||||
|
Oh....how about the spacing/padding between each line in the "Categories" box? Is it in the skin1.css file? I can't find it. Thanks again for your help.
-Tuan
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
|
#5
|
|||||||
|
|||||||
|
Between each category name you mean? That is just a
tag in customer/categories.tpl. You would need to add a padding element to the CategoriesList class to use padding.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#6
|
|||||||
|
|||||||
|
Quote:
tag. I edited the skin1.css file and added the codes below, using the padding element. However, I did not notice any changes between each category. Code:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
|
#7
|
|||||||
|
|||||||
|
Probably due to the lovely <font> tags X-Cart still uses
<FONT class="CategoriesList"> with this: <div class="CategoriesList"> also replace the closing </font> tag with </div>
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#8
|
|||||||
|
|||||||
|
Hmmm.....can't find that line anywhere in the categories.tpl file under the "customer" folder. Here is what I have.
Code:
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
|
#9
|
|||||||
|
|||||||
|
Is this the beta version you are working with?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#10
|
|||||||
|
|||||||
|
Unfortunately yes. *****banging against the wall*****
__________________
Win2003 IIS6, PHP 5.2.3, MySQL 5.0.45 and X-Cart 4.1.9 |
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||