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

This is an embed external element. It can be deleted using the delete key or the backspace key. To view the full element, press the preview button below.
Image
cat-exp.PNG
5.34 KB


Comments

  • Hi,

    Please try the following CSS code:

    1. .wc-block-product-categories.is-list ul li ul{
    2.  display: block!important;
    3. }
    4. .wc-block-product-categories.is-list ul li .cat-expander{
    5.  display: none!important;
    6. }

    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.