Global

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.

Select Field

sledge-image-docs
ClassDescription
sledge__select-field-wrapperSelect field wrapper
sledge__button sledge__select-fieldSelect field button
sledge__select-field-iconSelect field icon
sledge-icon__swapSelect field icon swap
sort-trigger-iconSelect field trigger icon
sledge-icon__arrow-downSelect field trigger arrow up or down icon

Input Field

sledge-image-docs
ClassDescription
sledge__input-field-wrapperInput wrapper
sledge__input-fieldInput field

Search Input Field

sledge-image-docs
ClassDescription
sledge__search-input-field-wrapperSearch input wrapper
sledge__search-input-field-iconSearch input icon
sledge__search-input-fieldSearch input field
sledge-icon__searchSearch input search icon
sledge__clear-fieldSearch input clear button wrapper
sledge-icon__closeSearch input clear icon

Pagination

sledge-image-docs
ClassDescription
sledge__paginationPagination wrapper
sledge__pagination-navigationPagination button
sledge-icon__arrow-leftPagination arrow left icon
sledge-icon__arrow-rightPagination arrow right icon

Product Card

sledge-image-docs
ClassDescription
sledge__product-gridProduct card wrapper
sledge__product-grid-cardProduct card parent class
sledge__product-grid-contentProduct card content wrapper
sledge__product-grid-card-imageProduct card image wrapper
sledge-wishlist__trigger-parent-elementProduct card wishlist trigger
sledge__product-grid-card-descProduct card description wrapper for:
title, price & etc
sledge__product-grid-card-priceProduct price
sledge__product-grid-badge-vendorProduct vendor
sledge__product-grid-card-product-nameProduct title
sledge__product-grid-card-textProduct SKU & First variant name
sledge__product-grid-button-wrapperProduct card add to cart button wrapper

For Wishlist Trigger, you can check out here.

For Rating stars, you can check out here.

Using Selector

SelectorDescription
.sledge__product-grid-button-wrapper .sledge__buttonProduct card add to cart button
.sledge__product-grid-card-image imgProduct image

Toast Notification

sledge-image-docs
ClassDescription
sledge__toast-viewportToast wrapper
sledge__toast-icon-wrapperToast icon wrapper
sledge__toast-message-wrapperToast message wrapper
sledge__toast-action-wrapperToast action wrapper

Using Selector

SelectorDescription
.sledge__toast-icon-wrapper .sledge-icon__heartToast heart icon
.sledge__toast-message-wrapper .sledge__toast-titleToast title
.sledge__toast-message-wrapper .sledge__toast-descriptionToast description
.sledge__toast-action-wrapper button.sledge__toast-actionToast dismiss button

Confirmation Popup

sledge-image-docs
ClassDescription
sledge__alert-dialog-contentConfirmation Popup wrapper
sledge__alert-dialog-content-closeConfirmation Popup close button
sledge__alert-dialog-titleConfirmation Popup title
sledge__alert-dialog-descriptionConfirmation Popup descripion
sledge__alert-dialog-button-cancelConfirmation Popup 'cancel' button

Using Selector

SelectorDescription
.sledge__alert-dialog-button[data-button-color-type="success"]Confirmation Popup add review button
.sledge__alert-dialog-button .sledge-icon__message-addConfirmation Popup add icon
.sledge__alert-dialog-button spanConfirmation Popup add icon
.sledge__button[data-button-color-type="success"] span:nth-child(2)Confirmation Popup add button text