layered nav count markup matches product/post categories. #5606
This commit is contained in:
parent
75c28e715f
commit
452cb56cd9
File diff suppressed because one or more lines are too long
|
@ -1713,7 +1713,6 @@ p.demo_store {
|
|||
list-style:none;
|
||||
a, span {
|
||||
padding: 1px 0;
|
||||
float:left;
|
||||
}
|
||||
}
|
||||
li.chosen {
|
||||
|
@ -1730,13 +1729,6 @@ p.demo_store {
|
|||
}
|
||||
}
|
||||
}
|
||||
small.count {
|
||||
float: right;
|
||||
margin-left: 6px;
|
||||
font-size: 1em;
|
||||
padding: 1px 0;
|
||||
color: $subtext;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -368,7 +368,7 @@ class WC_Widget_Layered_Nav extends WC_Widget {
|
|||
|
||||
echo ( $count > 0 || $option_is_set ) ? '</a>' : '</span>';
|
||||
|
||||
echo ' <small class="count">' . $count . '</small></li>';
|
||||
echo ' <span class="count">(' . $count . ')</span></li>';
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue