Category Box Glitch

Locked

Views: 998

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 Mar 2008, 8:53 PM
#1
silentpanic24 avatar

silentpanic24

New Zenner

Join Date:
Apr 2007
Location:
Port Jefferson, NY
Posts:
8
Plugin Contributions:
0

Category Box Glitch

I'm having a problem with my category box - my two top categories are "shop by brand" or "shop by category", under each of which has subcategories. An example of my issue is as follows:

Under my "shop by brand" category, "Crislu" is not shown visually the same way as the other brand names. I'm thinking so far that it's because it's the only sub-category which has ITS OWN subcategories, but I wouldn't think that should make a difference. Can someone help?? Is there something in the stylesheet that would change the look of such a link??

http://jewelsbymr.com/store/index.php?main_page=index&cPath=56

Under the "shop by category" link, I have the same problem with "engravable gifts." Again - that sub-category has it's own sub-categories.

Thanks in advance!
:huh:

7 Mar 2008, 10:07 PM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: Category Box Glitch

Your template's stylesheet has a declaration for .category-products but not for .category-subs. Add

, li.category-subs a
and
, li.category-subs a:hover

to these declarations in your stylesheet to get the same styling in both situations:```
li.category-products a, li.category-subs a {
padding:.4em 0 0 1.5em;
margin:0;
color:#333333;
font-weight:bold;
display:block;
height:1.8em;
border-bottom:1px solid #9a9a9a;
background:#EEEEEE url(../images/boxlistbg.png) 1.2em 0.5em no-repeat;
}
li.category-top a:hover{
background:#333333 url(../images/boxlistbg.png) .4em 0.5em no-repeat;
color:#EEEEEE;
}
li.category-products a:hover, li.category-subs a:hover {
background:#333333 url(../images/boxlistbg.png) 1.2em 0.5em no-repeat;
color:#EEEEEE;
}