Sophie
Sophie

Reputation: 3

Woocommerce: Change Font Size for Subcategory

I added a subcategory in Woocommerce and now I want to display the subcategory in bold and also make the font size bigger, so that it looks like a subcategory and not like one of the product categories. Here is where I want to change it: https://ecsense.com/ec-sense-products/ (I want to change it for "Single Gas Modules" and "Dual Gas Modules")

Until now I looked through the CSS code which was made by someone else, but I could not find any code for Categories. The Main Categories are already displayed in bold and big by woocommerce. So I would need a whole new section for Product Categories in my CSS. If anyone knows how to add a CSS code, please tell me.

Upvotes: 0

Views: 372

Answers (2)

Minal Chauhan
Minal Chauhan

Reputation: 6158

Try this CSS Code:

#filter-bar .bapf_body >ul >li:nth-child(2)>ul >li> label {
    font-size: 20px;
    font-weight: 900;
}

Output like this:

enter image description here

Upvotes: 1

Full Stop
Full Stop

Reputation: 853

Please check this CSS code

.bapf_body ul li > ul li > ul li > label {
    font-size: 12px !important;
}

output is like : http://prntscr.com/1gzqcci

Upvotes: 0

Related Questions