Instant Search

Instant Search

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.

Search Field

Search Field
ClassDescription
sledge-instant-search__widget-search-form-wrapperSearch field wrapper
sledge-instant-search__widget-search-form-resultSearch field form result
sledge__scroll-area-rootSearch field scroll area
sledge__scroll-area-viewportSearch field viewport area
sledge-instant-search__widget-search-form-result-flex-item-otherSearch field item wrapper
(except product items)
sledge-instant-search__icon-widget-search-form-result-titleSearch field item title
sledge-instant-search__icon-widget-search-form-result-listSearch field item list
sledge-instant-search__icon-widget-search-form-result-list-linkSearch field item list link
sledge-instant-search__icon-widget-search-form-result-item-disabledSearch field item list
(if No items were found)
sledge-instant-search__widget-search-form-result-flex-item-productSearch field item wrapper
(only products item)
sledge-instant-search__widget-search-form-result-title-productSearch field product item title
sledge-instant-search__widget-search-form-result-productSearch field product wrapper

For Search Input Field, you can check out here.

For Product Card, you can check out here.

Search Icon Popup

Search Icon Popup
ClassDescription
sledge-instant-search__icon-widget-search-form-resultSearch wrapper
sledge__scroll-area-rootSearch scroll area
sledge__scroll-area-viewportSearch viewport area
sledge-instant-search__icon-widget-search-form-result-wrapperSearch form wrapper
sledge-instant-search__icon-widget-search-form-result-flex-item-otherSearch item wrapper
(except product items)
sledge-instant-search__icon-widget-search-form-result-titleSearch item title
sledge-instant-search__icon-widget-search-form-result-listSearch item list
sledge-instant-search__icon-widget-search-form-result-list-linkSearch item list link
sledge-instant-search__icon-widget-search-form-result-list-link-suggestionSuggestions list link
sledge-instant-search__icon-widget-search-form-result-flex-item-productSearch item wrapper
(only products item)
sledge-instant-search__icon-widget-search-form-result-productProduct card wrapper
sledge-instant-search__widget-button-more-wrapperView More Result button wrapper
sledge-instant-search__icon-widget-button-moreView More Result button

For Search Input Field, you can check out here.

For Product Card, you can check out here.

Using Selector

SelectorDescription
.sledge-instant-search__icon-widget-search-form-result-list-link-suggestion ,sledge-icon__searchSearch icon on suggestions section

Search Result

Search Result
ClassDescription
sledge-instant-search__result-containerSearch result wrapper

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.

Tab Index

Tab Index
ClassDescription
sledge-instant-search__result-tabSearch result tab wrapper
sledge-instant-search__result-tab-list-item-activeSearch result item active class
sledge-instant-search__result-tab-totalSearch result item total

Using Selector

SelectorDescription
.sledge-instant-search__result-tab-list li::beforeBorder line on bottom when item is active or hovered

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-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

Collection Card

Collection Card
ClassDescription
sledge-instant-search__result-data-summary-textTotal data found
sledge__collection-grid-cardCollection card
sledge__collection-grid-card-imageCollection card image
sledge__collection-grid-card-content-titleCollection card title
sledge__collection-grid-card-content-descriptionCollection card description

For Pagination component, you can check out here.

Page Card

Page Card
ClassDescription
sledge-instant-search__result-data-summary-textTotal data found
sledge__page-grid-cardPage card
sledge__page-grid-card-imagePage card image
sledge__page-grid-card-content-titlePage card title
sledge__page-grid-card-content-descriptionPage card description

For Pagination component, you can check out here.

Blog Card

Blog Card
ClassDescription
sledge-instant-search__result-data-summary-textTotal data found
sledge__blog-grid-cardBlog card
sledge__blog-grid-card-imageBlog card image
sledge__blog-grid-card-content-titleBlog card title
sledge__blog-grid-badge-vendorBlog card date
sledge__blog-grid-button-wrapperView Blog Button wrapper

For Pagination component, you can check out here.

Using Selector

SelectorDescription
.sledge__blog-grid-button-wrapper .sledge__buttonView blog button
.sledge__blog-grid-button-wrapper .sledge__button .sledge-icon__noteView blog button icon

Article Card

Article Card
ClassDescription
sledge-instant-search__result-data-summary-textTotal data found
sledge__article-grid-cardArticle card
sledge__article-grid-card-imageArticle card image
sledge__article-grid-card-content-titleArticle card title
sledge__article-grid-badge-vendorArticle card date
sledge__article-grid-button-wrapperView Blog Button wrapper

For Pagination component, you can check out here.

Using Selector

SelectorDescription
.sledge__article-grid-button-wrapper .sledge__buttonView Article button
.sledge__article-grid-button-wrapper .sledge__button .sledge-icon__noteView Article button icon