Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Categories not displaying properly

Categories not displaying properly

Views: 1,025

Results 1 to 7 of 7
16 Jan 2011, 12:45 PM
#1
xeanatic avatar

xeanatic

New Zenner

Join Date:
Feb 2010
Posts:
20
Plugin Contributions:
0

Categories not displaying properly

Hello,

The left side box categories aren't displaying properly. As you can see the first categorie looks fine but the others have much more space on top of the link. I Somehow can't find where I can adjust this.:blush:

Live Website:
http://www.esoxshop.com/

With kind regards,

Marcel

16 Jan 2011, 1:13 PM
#2
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Categories not displaying properly

spacing is due to HTML <br> element applied before each link , i am not sure why first link is not effected . you can fix this by either removing <br> from the categories or simpler use this code in your CSS ..

#categoriesContent br {
display : none;
}

hope this helps

16 Jan 2011, 1:21 PM
#3
xeanatic avatar

xeanatic

New Zenner

Join Date:
Feb 2010
Posts:
20
Plugin Contributions:
0

Re: Categories not displaying properly

Thanks it worked. Now somehow it screws up when showing subcategories.

http://www.esoxshop.com/index.php?main_page=index&cPath=2

I want all the subcategories, staying in the same box as the parent category. Hope that makes sense..:blush:
Also in IE it shows subcategories alongside eachoterh in stead of the one below the other..

16 Jan 2011, 1:23 PM
#4
xeanatic avatar

xeanatic

New Zenner

Join Date:
Feb 2010
Posts:
20
Plugin Contributions:
0

Re: Categories not displaying properly

just for some more information I applied the code you suggested to my css did not know where to remove the <br> from the categories

16 Jan 2011, 1:37 PM
#5
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: Categories not displaying properly

sorry , didn't think of sub cat .. please replace the code with this one

.category-top br {
display:none;
}

hope this one will fix the problem .

16 Jan 2011, 1:47 PM
#6
xeanatic avatar

xeanatic

New Zenner

Join Date:
Feb 2010
Posts:
20
Plugin Contributions:
0

Re: Categories not displaying properly

Thanks for the fast reply. I tried your new code. But now it's back to the original error, but subcategories do align vertically now but still not as it should..

16 Jan 2011, 7:03 PM
#7
xeanatic avatar

xeanatic

New Zenner

Join Date:
Feb 2010
Posts:
20
Plugin Contributions:
0

Re: Categories not displaying properly

Added screenshot to make it more clear what I want to fix, oh and I use the latest version of ZC