Forums Forums Search & Filter Pro Button filters

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #272910

    Hello,
    I would need to add button filters for categories.
    Is it any way to obtain this with S&F pro?

    Thanks

    Trevor
    #272913

    If you set the field to show as a checkbox type of field, CSS can then be used to hide the input box, and style the label to look like a button, styling it differently if ON.

    Anonymous
    #272915

    Thanks Trevor,
    we have done something similar but we can’t figure out to style it as the client want. It seems we cannot style the label and the text autonomously. Do you confirm this?

    Trevor
    #272921

    I am not sure what you mean? The search will show you some replies in our forum (with snippets) that do as you want:

    https://support.searchandfilter.com/forums/search/label+option+active+none/

    The field names would likely need changing in the CSS.

    Anonymous
    #272935
    This reply has been marked as private.
    Trevor
    #272943

    I am not sure if what you are doing is possible. The outer <li> needs to have the background set, the cursor needs to change to pointer on hover, and a right margin is needed. The label needs to have opposite transform of 20deg and no background.

    Anonymous
    #272951

    Thanks,
    can you help me with that? I’m trying but not achieving it

    Trevor
    #273033

    From what I can see, you appear to have done it, except that I think the label may also need to have cursor set to pointer on hover?

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