• Resolved tdechangy

    (@tdechangy)


    Hi, categories are useful for so many reasons, even in backend that it needs maximum flexibility.
    Sadly your plugin doesn’t allow to use custom classes to hide or custom style some categories.

    I would suggest using the category name to be inserted as additional class for each one.

    Is this something you could do soon please. It’s so basic and so much needed.
    Regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    “to hide” – filter by Product category has option to Include/Exclude values from the filter. In paid version of the plugin.

    “custom style” – depends on how you want to style the Category. For simple styling(eg color, font-size, etc) you can use something like this

    
    .berocket_label_widgets[data-for="checkbox_74product_cat"] {
        color: green;
    }
    

    where 74 is category id.

    We will will try to add additional class with category slug.

    Regards,
    Dima

    Thread Starter tdechangy

    (@tdechangy)

    Ok, thanks. Good to know this.

    Regards.

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    Classes are added. If you have recent version of the plugin you can see that we are adding brw-<attribute-slug>-<value-slug> to the value li element.
    Example brw-product_cat-men-t-shirt

    Filter widget wrapper is getting new class too. It is attribute slug.
    Example brw-product_cat

    Regards,
    Dima

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add category classes’ is closed to new replies.