Category Count INSIDE Category List?
-
Hi,
I’m just customising the templates and I’ve made a horizontal list of categories. Each category has a category count in brackets next to it. Fairly simple, However….
I wanted to make each item a “button” as such by changing the styling to span the whole column and add in top and bottom padding. I then set the list “li a” style to “display: block” to make it all clickable as a link (not just the text).
The only trouble with this is that because the list count (in brackets) does not appear to be included in the list element
it throws this onto the next line and outside the “button” effect I’m aiming for.
What I’m trying to do is do find a way to place the count (1) inside the list element so that it all displays on one line.
Hope that makes sense and hope someone can help me out there. It seems strange that’s its generated outside the list in the first place.
Many thanks
- The topic ‘Category Count INSIDE Category List?’ is closed to new replies.