Zen Cart Logo
Forums / Basic Configuration / Leaving spaces between categories in the categories box

Leaving spaces between categories in the categories box

Locked

Views: 2,647

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Oct 2006, 1:34 PM
#1
binny25 avatar

binny25

New Zenner

Join Date:
Oct 2006
Posts:
42
Plugin Contributions:
0

Leaving spaces between categories in the categories box

hello.

if possible, i would like to leave spaces between the categories in the categories box.

note: i would prefer to do it via the admin page without any doing any code stuff.

at the moment, the categories box looks like this:

category 1
category 2
category 3
category 4
category 5
category 6

i would like it to look like this:

category 1

category 2

category 3
category 4
category 5
category 6

thanks in advance, matt.

https://www.replay-tennis-dvds.com

5 Oct 2006, 1:39 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Leaving spaces between categories in the categories box

One method is the "fake" Category Name where you do not give a Category Name, but do use the Sort Order so that they Categories fall in the right order ...

The "fake" no name Categories would be blank and not display anything in their slot ...

5 Oct 2006, 2:27 PM
#3
binny25 avatar

binny25

New Zenner

Join Date:
Oct 2006
Posts:
42
Plugin Contributions:
0

Re: Leaving spaces between categories in the categories box

thanks very much - worked a charm.

but am wondering whether it will have any negative search-engine repercussions.

matt.

5 Oct 2006, 4:13 PM
#4
manada avatar

manada

New Zenner

Join Date:
Dec 2005
Posts:
35
Plugin Contributions:
0

Re: Leaving spaces between categories in the categories box

It require small tweaking, but similar effect you can get by adding:

"line-height: 2em;"

into you "stylesheet.css" to

".leftBoxContainer, .rightBoxContainer {" section.

My section in css looks like this:
"
.leftBoxContainer, .rightBoxContainer {
margin-top: 0.1em;
margin-bottom: 1em;
background-color: #eeeeee;
border: 0px solid #003366;
line-height: 2em;
}
"
One thing more - all listed categories will be affected.

Adam