Forums / Templates, Stylesheets, Page Layout / spacing categories in sidebox

spacing categories in sidebox

Views: 405

Results 1 to 2 of 2
6 May 2011, 6:32 AM
#1
bloomingvine avatar

bloomingvine

New Zenner

Join Date:
Jan 2011
Location:
midwest USA
Posts:
73
Plugin Contributions:
0

spacing categories in sidebox

I need to add a space between category listings in my sidebox on the left. I am not sure what to edit to do this. I am using the classic template and znecart version 1.3.9h http://bloomingvinedesign.com/zencart?

I reject your reality and substitute my own--Adam Savage

6 May 2011, 6:55 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: spacing categories in sidebox

You can't make the standard category links space out more than the double-line categories, since they are inline <a> elements. If you make them act like block elements, the <br /> between each category will add an extra space. Add to your stylesheet

.category-top {display: block;}

This will cause the count after each category to drop to the next line, which is not desirable. If you turn the counts off, you will still have the extra space.

Alternatively, you could install Categories Dressing and get complete control over the layout and other characteristics of the categories sidebox.