Product Filters

Product Filters

All of Sledge's themes use of several kinds of classes. To assist you in customizing CSS to your needs, the most frequently used element selectors and classes are listed below.

Product Filters

Product Filter Result

For Search Input Field, you can check out here.

For Product Card, you can check out here.

For Pagination component, you can check out here.

Filter Horizontal

Filter Horizontal
ClassDescription
sledge-instant-search__result-filter-horizontal-wrapperFilter wrapper
sledge-instant-search__result-filter-horizontal-refine-item-clear-allClear all button
sledge-instant-search__result-filter-item-refine-selectedSelected filters wrapper
sledge-instant-search__result-filter-item-title-refine-listSelected filters text
sledge-instant-search__result-filter-item-refine-title-clearSelected filters clear icon
sledge-instant-search__filter-horizontal-facet-contentPopover wrapper
sledge-instant-search__result-filter-item-listPopover items wrapper

Using Selector

SelectorDescription
.sledge-instant-search__result-filter-horizontal-wrapper .sledge__buttonFilter button
.sledge-instant-search__result-filter-horizontal-wrapper .sledge__button .sledge-icon__arrow-downArrow down icon
.sledge-instant-search__result-filter-horizontal-facet .sledge__checkbox-wrapperPopover items checkbox wrapper
.sledge-instant-search__result-filter-horizontal-facet .sledge__checkbox-rootcheckbox input
.sledge-instant-search__result-filter-horizontal-facet .sledge__checkbox-labelcheckbox label

Filter Vertical

Filter vertical
ClassDescription
sledge-instant-search__result-filterFilter wrapper
sledge-instant-search__result-filter-item-title-refineFilter title
sledge-instant-search__result-filter-horizontal-refine-item-clear-allClear all button
sledge-instant-search__result-filter-item-refine-selectedSelected filters wrapper
sledge-instant-search__result-filter-item-title-refine-listSelected filters text
sledge-instant-search__result-filter-item-refine-title-clearSelected filters clear icon
sledge-instant-search__result-filter-itemFilter items wrapper
sledge-instant-search__result-filter-item-titleFilter items title
sledge-instant-search__result-filter-item-listFilter items list
sledge-instant-search__result-filter-itemFilter items wrapper
sledge-instant-search__result-filter-item-titleFilter items title
sledge-instant-search__result-filter-item-listFilter items list
sledge-instant-search__result-filter-item-list-sliderFilter slider wrapper
sledge-instant-search__result-filter-item-color-swatchesFilter color swatches container

You can edit Title of Filters text with Using Backend in Title of Filters section, check out here.

You can edit Options of Filter text with Using Backend in Options of Filter section, check out here.

You can edit Filter Button with Using Backend in Filter Button section, check out here.

Using Selector

SelectorDescription
.sledge-instant-search__result-filter-item .sledge-icon__arrow-downArrow down icon
.sledge-instant-search__result-filter-item-list .sledge__checkbox-wrappercheckbox and label wrapper
.sledge-instant-search__result-filter-item-list .sledge__checkbox-rootcheckbox input
.sledge-instant-search__result-filter-item-list .sledge__checkbox-labelcheckbox label
.sledge-instant-search__result-filter-item-list .sledge__checkbox-labelcheckbox label
.sledge-instant-search__result-filter-item-list-slider .sledge__SliderRootFilter slider
.sledge-instant-search__result-filter-item-list-slider .sledge-instant-search__result-filter-minmax-fieldFilter slider min max text
.sledge-instant-search__result-filter-item-color-swatches .sledge__color-swatch-rootFilter color swatches button