Forums Forums Search & Filter Pro Hierarchical taxonomy checkboxes horizontal

Viewing 10 posts - 1 through 10 (of 10 total)
  • Anonymous
    #222964

    Hello,
    I’ve been searching here for the proper css code to make hierarchical checkboxes (together with children) horizontal. I need to display on my search page all taxonomy terms (including parents and children), but I dont want them to be indented under each other (children display below parent). I want to display all the terms in the inline block, so that parent is horizontally followed with children. Is that possible to achieve?

    Trevor
    #222998

    Are you able to send me a live link/URL to your search page so I can take a look at what it currently looks like, and are you able to sketch up (maybe an image – you would need to upload it to an image sharing site and share the link to it with me)?

    Anonymous
    #223020
    This reply has been marked as private.
    Trevor
    #223029

    It might be possible. Do you have these settings ON:

    https://www.screencast.com/t/ZNKg7NDBh

    (I am unsure if ‘Include Children in Parents’ needs to be on)?

    Anonymous
    #223052

    Yes, both of these settings are on. Hierarchical needs to be on, otherwise it will show me only taxononomy terms which are set on the posts. But I want the search form to display ALL terms which are in a hierarchical taxonomy, not only those which are set on the posts.

    Trevor
    #223055

    I want the search form to display ALL terms which are in a hierarchical taxonomy, not only those which are set on the posts.

    This, I am sorry to say, is not possible without coding. You would need to use the https://searchandfilter.com/documentation/action-filter-reference/#filter-input-object filter as the form will normally only show terms actually in use on posts. It does not look at the actual taxonomy terms as defined.

    Anonymous
    #223162

    Actually, it shows all terms on the search form page right now too, but children lie beneath parents. I want them to be displayed like this: parent–>child–>child–>New parent–>child–>child and so on.

    Trevor
    #223164

    Can you do a screenshot of the form field settings for that field and upload it to a file sharing site (like the WordPress Cloudup site) and share the link for the image with me?

    Anonymous
    #223337
    This reply has been marked as private.
    Trevor
    #223400

    Ah. I understand now. It can be done with Custom CSS, yes. It would be best if I could play with a live form though (which you said is not currently possible), when the settings are like that.

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