skip to Main Content

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.

2

Answers


  1. 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

    Login or Signup to reply.
  2. 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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search