Home Forums Technical Support Woocommerce: Hide non-current categories from the WooCommerce Product Categories

Topic Resolution: Resolved

This topic contains 2 replies, has 2 voices, and was last updated by  Louis Alviss 6 days, 6 hours ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #15094

    Hello

    Could you please advice for the following?
    <h4><span style=”font-family: Consolas, Monaco, monospace;”>1. Hide non-current categories from the WooCommerce Product Categories widget</span></h4>

    .woocommerce aside.widget_product_categories ul.product-categories > li:not(.current-cat) {
    display:none;
    }

    <h4>2. Hide non-current categories from the WooCommerce Product Categories widget. Works on subcategories as well!</h4>

    .woocommerce aside.widget_product_categories ul.product-categories > li:not(.active) {
    display: none;
    }

    I found this link  but i cannot apply it in Nivellia template.

    Could you please advice how to procee?

    #15095

    …Please ignore the original text is bad typed .

     

    What is need is, under the product image, the current category to be displayed in Catagory field ( Print screen )

    Is this possible?

    Attachments:
    You must be logged in to view attached files.
    #15130

    Hi,

    I don’t quite understand your idea, because if you don’t want that Category to display, just need to remove the Products out of that Category via the Woocommerce > Products > Category.

    Thank you

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.