Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to get subcatagories from a list to grid?

How to get subcatagories from a list to grid?

Locked

Views: 5,053

Results 1 to 20 of 21
This thread is locked. New replies are disabled.
31 May 2006, 2:32 PM
#1
jen973 avatar

jen973

New Zenner

Join Date:
Jan 2006
Posts:
13
Plugin Contributions:
0

How to get subcatagories from a list to grid?

Hi!
Bear with me, I'm a newbie to zencart and am still learning. I searched the boards for a few days now to see if I can find the info but can't.
My husband recently upgraded my site to the latest version. My sub-catagories however are now in a list rather then a grid as they were before the upgrade.
How do I fix that?
Thanks!

1 Jun 2006, 12:10 AM
#2
kobra avatar

kobra

Black Belt

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

Re: How to get subcatagories from a list to grid?

Not entirely positive about what you are refering to:

Most of the display options are in the admin > configuration area.

If you are talking about your actual product listings thaen there is a mod in the downloads area for column_grid arrangement...

Can you provide a url to the offending page??

1 Jun 2006, 2:26 AM
#3
jen973 avatar

jen973

New Zenner

Join Date:
Jan 2006
Posts:
13
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

ok, here is the main page:
http://www.enchantingdream.com/edream/index.php?main_page=

then if you click on a category on the left, let's say Themes
http://www.enchantingdream.com/edream/index.php?main_page=index&cPath=253

it shows a list in the middle rather then a grid. I've searched and searched everywhere and can't seem to get instructions or tips on how to make that into a grid instead.
Any help would be greatly appreciated!
Thanks :)

2 Jun 2006, 2:15 PM
#5
jen973 avatar

jen973

New Zenner

Join Date:
Jan 2006
Posts:
13
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

Does that download only work for the products to be shown as a grid? We installed it and don't see anything where we can make the subcatagories show up as a row.

3 Jun 2006, 12:13 AM
#6
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

admin -> configuration -> maximun values -> Categories To List Per Row :smile:

3 Jun 2006, 12:59 AM
#7
jen973 avatar

jen973

New Zenner

Join Date:
Jan 2006
Posts:
13
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

That's what I was hoping for too but the default was 3, so it would be let's say A B C (somewhat of a space) D E F (somewhat of a space) G H I etc. but in a column not a row, then I set it to 10 so now it's A B C D E F G H I J (space) K L etc.
It still lists them in a column not a grid/row.

3 Jun 2006, 1:33 AM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,607
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

What do you have in your stylesheet for .categoryListBoxContents ?

6 Jun 2006, 9:13 PM
#9
jen973 avatar

jen973

New Zenner

Join Date:
Jan 2006
Posts:
13
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

There is no specific CSS named ".categoryListBoxContents" There is one called:

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew

And I am not sure what settings to modify.

6 Jun 2006, 9:38 PM
#10
kobra avatar

kobra

Black Belt

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

Re: How to get subcatagories from a list to grid?

I don't know where Kim was going with her request but:

See this:

There is no specific CSS named ".categoryListBoxContents" There is one called:

.centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew

6 Jun 2006, 11:29 PM
#11
jen973 avatar

jen973

New Zenner

Join Date:
Jan 2006
Posts:
13
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

Okay, I should have been more specific.

I opened my stylesheet.css file with Adobe GoLive. Within the stylesheet.css file from my template there is a list of settings. Within those settings there is not a "SINGLE" setting named ".categoryListBoxContents". There is, on a single line, a setting named: ".centerBoxContents, .specialsListBoxContents, .categoryListBoxContents, .additionalImages, .centerBoxContentsSpecials, .centerBoxContentsAlsoPurch, .centerBoxContentsFeatured, .centerBoxContentsNew"

So, I am assuming this grouped setting controls a whole bunch of stuff. So, should I then create a news setting named ".categoryListBoxContents"? And if so, I don't know what settings to modify within Adobe GoLive for that setting on the stylesheet.

Thanks.

7 Jun 2006, 6:04 AM
#12
kobra avatar

kobra

Black Belt

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

Re: How to get subcatagories from a list to grid?

They are grouped, and Kim asked what you have defined for this tag... The def's for the group are controlling the style of these and any other in the group.

Post what you have for this group.

Also it looks as though you have a mod for the category side box. post what that is. There is something broke code wise if you are set in the admin to display 3 columns and you are getting 1 column

Also if you have a 3rd party template post what it is.

19 Jun 2006, 2:35 AM
#14
cupcake avatar

cupcake

New Zenner

Join Date:
May 2006
Location:
Pacific Northwest (Canada Jr.)
Posts:
25
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

Add me to this list.

I posted this question elsewhere, but I'm still looking (hours later) for the answer! :shocking:

Dear ZenCart tem, what would we do without you?

19 Jun 2006, 3:47 AM
#15
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

With the hints from Kim.

How about adding the follows and toying with it.

.categoryListBoxContents {
float: left;
}

I had tested the two sites of which the links were posted in above discussions.
After adding the above line, it shown the sub categories in rows. Or, at lease it had some efeects in my tests as I can only test off site.

And please, of course no guaranty! :smile:

.

20 Jun 2006, 7:26 PM
#16
rebekahpaul avatar

rebekahpaul

New Zenner

Join Date:
Jun 2006
Posts:
25
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

Adding this to the end of the CSS does work! Thanks!

.categoryListBoxContents {
float: left;
}

28 Jun 2006, 8:22 PM
#17
jen973 avatar

jen973

New Zenner

Join Date:
Jan 2006
Posts:
13
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

Thanks for all the help, it worked, but now I have a new problem that I can't seem to figure out. After adding the line mentioned to my CSS, the sub-categories list in a grid nicely, but they flow into my "Upcoming Products" box for some reason, heres a screen-shot

28 Jun 2006, 9:21 PM
#18
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

From your CSS find the following.

// $Id: stylesheet.css 1223 2005-04-22 03:46:20Z ajeh $
Are you upgrading the template from the v1.2.6 ???

29 Jun 2006, 3:08 AM
#19
jen973 avatar

jen973

New Zenner

Join Date:
Jan 2006
Posts:
13
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

yes I am upgrading from an earlier version. As far as finding "// $Id: stylesheet.css 1223 2005-04-22 03:46:20Z ajeh $" It is at the beginning, what am I supposed to change to fix this problem?

29 Jun 2006, 7:45 AM
#20
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: How to get subcatagories from a list to grid?

The suggestions always find in the forum, it is the best to start based on the template of template_default of the new version.

And in the download area you can find updated templates which with a few modifications can fit for your.

Anyway, you missed the following in your stylesheet. It should be in the stylesheet of new version.

.clearBoth {
	clear: both;
	}

And I had tested with the two addings in the following to your site and the links is refer to the post No. 3 of this thread.
And it seems solve the two problems you had mentioned.

.clearBoth {
	clear: both;
	}

.categoryListBoxContents {
float: left;
}

Hope this helps.

.