Zen Cart Logo
Forums / General Questions / Sub_Category List display

Sub_Category List display

Views: 531

Results 1 to 7 of 7
12 Aug 2013, 8:06 AM
#1
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Sub_Category List display

http://thegiftshop.tv/index.php?main_page=index&cPath=4

The subcategories list (I don't want to put images) displays one on each line, which takes it way too far down the page.
How do I list them across the page - say 4 or 5 across??

thanks

12 Aug 2013, 10:34 AM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Sub_Category List display

What's your setting in Admin - Configuration - Maximum Values - Categories To List Per Row ?

12 Aug 2013, 11:15 AM
#3
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Sub_Category List display

Ah...it is set to 3....which clearly doesn't seem to be taking effect!

12 Aug 2013, 11:58 AM
#4
picaflor_azul avatar

picaflor_azul

Totally Zenned

Join Date:
Jul 2009
Location:
picaflor-azul.com
Posts:
6,940
Plugin Contributions:
28

Re: Sub_Category List display

gprit:

Ah...it is set to 3....which clearly doesn't seem to be taking effect!

Maybe the template author did something strange? I would recommend contacting them with the question ;)

Thanks,

Anne

12 Aug 2013, 1:03 PM
#5
gprit avatar

gprit

Zen Follower

Join Date:
Mar 2009
Posts:
176
Plugin Contributions:
0

Re: Sub_Category List display

Ah yes...but unfortunately Template Mela seem not to think it is their problem.....

12 Aug 2013, 1:53 PM
#6
stevesh avatar

stevesh

Black Belt

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

Re: Sub_Category List display

Easy way to find out - switch temporarily back to the Classic template. If it's OK there, check to see if the template designer modified includes/modules/category_row.php.

12 Aug 2013, 2:52 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Sub_Category List display

Your template is currently trying to display up to 5 subcats per row (viewing the Body and Skin Care top category), but the HTML has inline styling for width: 50%; and the stylesheet (line 911) has padding:```
.sub-category ul li {
background: url("../images/bullet3.gif") no-repeat scroll left center transparent;
padding-left: 10px;
}


Reduce the width (it should automatically adjust for the set number of items per row). And it is definitely something the template author did; if they had not changed the stock code, the widths would not be wrong.