Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Stack category images on main page?

Stack category images on main page?

Locked

Views: 525

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
27 Dec 2010, 7:03 PM
#1
iddy avatar

iddy

Zen Follower

Join Date:
Jan 2009
Posts:
119
Plugin Contributions:
0

Stack category images on main page?

Hi

I'd like to show my categories stacked on the main page.
(I have five categories and i want only one category/image per line)

I found a thread that seemed to be trying to solve what i want to achieve

http://www.zen-cart.com/forum/showthread.php?t=56271&highlight=categories+main+page+stacked

  • They added the following to the stylesheet

.categoryListBoxContents {
float: left;
}

I tried commenting it out on my style sheet but it didnt seem to do anything

Can somebody point me in the right direction?

Thanks
Id

27 Dec 2010, 11:56 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Stack category images on main page?

Let's see your site to see exactly what you have.

28 Dec 2010, 8:45 AM
#3
iddy avatar

iddy

Zen Follower

Join Date:
Jan 2009
Posts:
119
Plugin Contributions:
0

Re: Stack category images on main page?

Sorry, at the moment its only on a local machine..

28 Dec 2010, 3:35 PM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: Stack category images on main page?

In that case we have to play guessing games. Are you sure there are no other rules for .categoryListBoxContents in any stylesheet?

30 Dec 2010, 11:55 AM
#5
iddy avatar

iddy

Zen Follower

Join Date:
Jan 2009
Posts:
119
Plugin Contributions:
0

Re: Stack category images on main page?

Am i correct in thinking that (on a fresh install) commenting out float: left; in
.categoryListBoxContents would stack the categories?

30 Dec 2010, 4:18 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Stack category images on main page?

Correct.
Do you have a template installed? If so, which one, and where did you get it?

Since we can't see it to do it for you, you need to install Firefox and its Web Developer and Firebug extensions. These will let you examine page elements to see what classes and ids apply to them, and what stylesheet rules affect them.