Range slider with only maximum value

Forums › Forums › Search & Filter Pro › Range slider with only maximum value

Tagged: 

Viewing 4 posts – 1 through 4 (of 4 total)
  • Anonymous
    #235217

    Hello,

    My customer’s products have a value (Fire Tolerance) which is expressed by number. The higher teh number, the more the item is fire resistant.

    But

    We need to put a slider to select the maximum value, without changing the low side of the slider, which has to be set to 0 (it has no meaning).

    Is it possible to hide or remove the min value, or to force it set to zero?

    Thanks a lot,

    Davide

    Trevor
    #235230

    You can set it not to auto detect and instead set it to 0 in the form field settings, and then use custom CSS (display: none;) to hide the slider. If you make it and show me on a page, I will create the CSS for you.

    Anonymous
    #273537
    This reply has been marked as private.
    Trevor
    #273643

    This custom CSS would hide the - separator, the To box, and the To handle of the slider:

    .searchandfilter[data-sf-form-id="3918"] .sf-field-post-meta-EI .sf-meta-range-slider .sf-range-values-seperator,
    .searchandfilter[data-sf-form-id="3918"] .sf-field-post-meta-EI .sf-meta-range-slider .sf-range-prefix:nth-child(4),
    .searchandfilter[data-sf-form-id="3918"] .sf-field-post-meta-EI .sf-meta-range-slider label:nth-child(5),
    .searchandfilter[data-sf-form-id="3918"] .sf-field-post-meta-EI .sf-meta-range-slider .meta-slider .noUi-base .noUi-origin:nth-child(3) {
        display: none;
    }

    I think you might find it easier to use a new plugin we have for the layout and content of the posts. See this post:

    https://support.searchandfilter.com/forums/topic/custom-layouts/

    Especially as you want only the title.

    As to updates, see this post:

    https://support.searchandfilter.com/forums/topic/plug-in-update-in-wp-admin/#post-273233

Viewing 4 posts – 1 through 4 (of 4 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.