Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author themifyme

    (@themifyme)

    Hi,

    Sorry, but I am not sure what you’re referring to, could you re-send the screenshot (the screenshot sent is not working) highlighting what you would like to remove?

    Thread Starter Tatitas

    (@taiswebsites)

    Hi!

    The link is working for me. I’ll explain it better:

    I determined that my filter by category should be display as Checkbox and Include Children.

    It’s now available in the side bar filter to select the Primary and Child Category. But <span style=”text-decoration: underline;”>I wanna to not release the option to click on the primary category</span>. In other words,<span style=”text-decoration: underline;”> the primary category should be only a title</span>.

    Example:
    Primary Category:
    For woman (just a title – not avaliable checkbox)
    Children Category:
    T-Shirt (avaliable checkbox)
    Sunglasses (avaliable checkbox)

    Plugin Author themifyme

    (@themifyme)

    You can disable the checkbox / filtering for the parent category item by adding this CSS to wp-admin > Appearance => Customize > Additional CSS:

    .wpf_item_wpf_cat ul li > input {
    display: none !important;
    }

    .wpf_item_wpf_cat ul.wpf_submenu li > input {
    display: inline-block !important;
    }

    .wpf_item_wpf_cat ul li > label {
    pointer-events: none !important;
    }

    .wpf_item_wpf_cat ul.wpf_submenu li > label {
    pointer-events: all !important;
    }

    Please let us know how it works for you.

    • This reply was modified 1 year, 2 months ago by themifyme.
    Thread Starter Tatitas

    (@taiswebsites)

    Worked. Thank you!

    It will be perfect if we have a settings for it on the plugin.

    Plugin Author themifyme

    (@themifyme)

    Happy I could help. If you like our products/services, please consider to rate us on our Facebook page: https://www.facebook.com/themify/reviews

    Have a good day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to disable the checkbox click on the primary category?’ is closed to new replies.