New Zenner
- Join Date:
- Nov 2008
- Posts:
- 71
- Plugin Contributions:
- 0
tweaking category sub styles
I'm working on my navigation (using the categories sidebox), and want to switch the way the SPAN.category-subs-parent classes are marked up.
To avoid being incredibly confusing, take a look at how my navigation is currently displayed HERE.
You'll see each sub category with a dashed line underneath. The code to accomplish this is done like this
A.category-subs, A.category-subs:visited {
border-bottom:2px dashed #B15148;
border-color:#B15148;
color:#4D4D4D;
display:block;
font-family:Georgia,"Times New Roman",Times,serif;
font-size:18px;
font-weight:bold;
letter-spacing:3px;
line-height:1;
padding-bottom:13px;
text-decoration:none;
}
What I want, is for the selected subcategories to lose the underline, that way the hierarchy tree won't be interrupted by the dashed line.
The current markup looks like this
<a class="category-subs" href="http://www.sweetjujubead.com/catalog/index.php?main_page=index&cPath=11_1_2">
<span class="category-subs-parent"> Gold Band</span>
</a>
If I could wrap the ENTIRE selected category in the "category-subs-parent" class, then I think I could set it to border: none; and accomplish what I'm looking to do.
The markup would look something similar to
<span class="category-subs-parent">
<a class="category-subs" href="http://www.sweetjujubead.com/catalog/index.php?main_page=index&cPath=11_1_2">Gold Band</a></span>
</a>
I hope this isn't as complicated as it sounds. Any ideas?