How to customise the product counts appearance in the attribute and category widgets

Change Product Count Colour and Background

You can control the colours and backgrounds using CSS. Here is an example to change the product count colour:

.woocommerce .widget_awd_fast_category_widget ul li span.count, .woocommerce .widget_awd_fast_attribute_widget ul li span.count {
font-weight: normal;
font-size:12px;
color:#aaa;
background-color:white;
}

Removing Brackets

By default, if you include product counts in your widgets, they will be surrounded by (brackets).

If you wish to remove these brackets, you can add the following CSS to your site:

.awdff span.count:before {
content:"";
}
.awdff span.count:after {
content:"";
}

 

Be the first to comment and we'll reply right away.

Leave a reply

Super Speedy Plugins
Logo