Wishlist

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.

Alert

sledge-image-docs
ClassDescription
sledge-wishlist__widget-alertAlert wrapper
sledge-wishlist__widget-alert-textAlert text
sledge-wishlist__widget-alert-linkAlert link

Badge

sledge-image-docs
ClassDescription
sledge-icon__heartWishlist heart icon
sledge-wishlist__badge-counterWishlist counter

You can edit this component with Using Backend in Button Style section, check out here.

Using Selector

SelectorDescription
.sledge-icon__heart #sledge-icon-heart-lineWishlist trigger icon line,
you can use this selector to edit line color
.sledge-icon__heart #sledge-icon-heart-fillWishlist trigger active icon,
you can use this selector to edit fill color icon

Badge Floating Full (Left / Right)

sledge-image-docs
ClassDescription
sledge-wishlist__badge-floatingWishlist badge floating wrapper
sledge-wishlist__badge-floating-textWishlist badge floating text

For Heart icon, you can check out here.

Badge Floating Icon (Bottom Left / Bottom Right)

sledge-image-docs
ClassDescription
sledge-wishlist__badge-floating-iconWishlist badge floating icon wrapper

For Heart icon, you can check out here.

Trigger

sledge-image-docs
ClassDescription
sledge-wishlist__trigger-blockWishlist trigger block wrapper,
you can use this class to edit position
sledge-wishlist__triggerWishlist trigger wrapper,
you can use this class to edit background color

For Heart icon, you can check out here.

Using Selector

SelectorDescription
.sledge-icon__heart #sledge-icon-heart-lineWishlist trigger icon line,
you can use this selector to edit line color
.sledge-icon__heart #sledge-icon-heart-fillWishlist trigger active icon,
you can use this selector to edit fill color icon

Button Detail

sledge-image-docs
ClassDescription
sledge-wishlist__widget-button-detail-wrapperWishlist button detail wrapper
sledge-wishlist__widget-button-detail-iconWishlist button detail icon
sledge-wishlist__widget-button-detail-iconWishlist button detail icon

Using Selector

SelectorDescription
.sledge-wishlist__widget-button-detail-wrapper buttonWishlist button detail,
you can use this selector to edit button color, width & text

List

sledge-image-docs
ClassDescription
sledge-wishlist__widget-header-itemWishlist header title
sledge-wishlist__widget-product-wrapperWishlist product card wrapper

For Heart icon, you can check out here.

You can edit Header Title with Using Backend in Wishlist Page section, check out here.

You can edit Clear All Button with Using Backend in Button : Clear All section, check out here.

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

For Product Card, you can check out here.

Empty List

sledge-image-docs
ClassDescription
sledge-wishlist__widget-product-emptyEmpty wishlist wrapper
sledge-wishlist__widget-product-empty-iconEmpty wishlist icon wrapper
sledge-wishlist__widget-product-empty-titleEmpty wishlist title
sledge-wishlist__widget-product-empty-descriptionEmpty wishlist description
sledge-wishlist__widget-button-wrapperEmpty wishlist button wrapper
sledge-wishlist__widget-product-empty-button-shoppingEmpty wishlist button,
you can use this selector to edit button size, color & etc

Using Selector

SelectorDescription
.sledge-wishlist__widget-product-empty-icon #sledge-icon-heart-lineEmpty Wishlist icon,
you can use this selector to edit
icon size & color
.sledge-wishlist__widget-product-empty-button-shopping span:nth-child(1)Empty Wishlist button text,
you can use this selector to edit
text size & color
.sledge-wishlist__widget-product-empty-button-shopping span:nth-child(2)Empty Wishlist button icon,
you can use this selector to edit
button icon size & color