show all product categories (no cat-expander icon)

edited May 2023 in Other

Hi all,

I'm using the jewelery2 theme from betheme and added some product categories & products to the store.

Unfortunately, my sidebar within the store shows only the first level of the category hierarchy. To see more product categories, the user needs to expand by a little arrow icon (s. red marked in the attachment)

I would like to change that, so that all categories incl. their hierarchy are visible by default.

Would be great if someone knows a solution for that.


Thanks a lot in advance,

Sebastian


Comments

  • Hi,

    Please try the following CSS code:

    .wc-block-product-categories.is-list ul li ul{
     display: block!important;
    }
    .wc-block-product-categories.is-list ul li .cat-expander{
     display: none!important;
    }
    

    Put it in Betheme -> Theme options -> Custom CSS & JS -> CSS.


    Best regards

  • thanks Phil,

    thats works fine!


    BR

    Sebastian

Sign In or Register to comment.