Skip to content

Product Details styles

Customize the Product Details drop-in using CSS classes and design tokens. This page covers the Product Details-specific container classes and customization examples. For comprehensive information about design tokens, responsive breakpoints, and styling best practices, see Styling Drop-In Components.

Version: 1.3.5

Customization example

Add this to the CSS file of the specific commerce block where you’re using the Product Details drop-in.

For a complete list of available design tokens (colors, spacing, typography, etc.), see the Design tokens reference.

.pdp-price-range__label {
font: var(--type-headline-2-strong-font);
letter-spacing: var(--type-body-1-strong-letter-spacing);
margin-left: 5px;
font: var(--type-headline-2-strong-font);
letter-spacing: var(--type-body-1-strong-letter-spacing);
margin-left: 8px;
}

Container classes

The Product Details drop-in uses BEM-style class naming. Use the browser DevTools to inspect elements and find specific class names.

/* Carousel */
.dropin-button--tertiary--disabled {}
.pdp-carousel {}
.pdp-carousel--arrows {}
.pdp-carousel--main-image-controls {}
.pdp-carousel--thumbnailsColumn {}
.pdp-carousel--thumbnailsRow {}
.pdp-carousel-thumbnail__span {}
.pdp-carousel__button {}
.pdp-carousel__button--next {}
.pdp-carousel__button--prev {}
.pdp-carousel__button--thumbnailsColumn {}
.pdp-carousel__button--thumbnailsRow {}
.pdp-carousel__button__icon--next {}
.pdp-carousel__button__icon--prev {}
.pdp-carousel__button__icon--thumbnailsColumn--prev {}
.pdp-carousel__button__icon--thumbnailsRow--next {}
.pdp-carousel__button__icon--thumbnailsRow--prev {}
.pdp-carousel__controls {}
.pdp-carousel__controls--thumbnailsColumn {}
.pdp-carousel__controls--thumbnailsRow {}
.pdp-carousel__controls__button {}
.pdp-carousel__controls__button--active {}
.pdp-carousel__controls__container--no-arrows {}
.pdp-carousel__controls__container--thumbnailsColumn {}
.pdp-carousel__controls__container--thumbnailsRow {}
.pdp-carousel__controls__wrapper {}
.pdp-carousel__controls__wrapper--thumbnailsColumn {}
.pdp-carousel__controls__wrapper--thumbnailsRow {}
.pdp-carousel__slide {}
.pdp-carousel__slide--hidden {}
.pdp-carousel__slide--horizontal {}
.pdp-carousel__slide--last {}
.pdp-carousel__slide--orphan {}
.pdp-carousel__thumbnail--selected {}
.pdp-carousel__thumbnail__container {}
.pdp-carousel__thumbnail__content {}
.pdp-carousel__thumbnail__span {}
.pdp-carousel__wrapper {}
.pdp-carousel__wrapper--horizontal {}
.pdp-carousel__wrapper--peak {}
.pdp-carousel__wrapper--scrollbar {}
/* GalleryGrid */
.pdp-gallery-grid {}
.pdp-gallery-grid__item {}
/* GiftCardOptions */
.pdp-gift-card-options {}
.pdp-gift-card-options__grid {}
.pdp-gift-card-options__label {}
.pdp-gift-card-options__option-field {}
.pdp-gift-card-options__option-field--full-width {}
.pdp-gift-card-options__row {}
.pdp-product__gift-card-options-container {}
/* Header */
.pdp-header {}
.pdp-header__sku {}
.pdp-header__title {}
/* Overlay */
.pdp-overlay {}
.pdp-overlay--centered {}
.pdp-overlay__close-button {}
.pdp-overlay__content {}
/* Price */
.pdp-price {}
.pdp-price__amount {}
.pdp-price__amount--grey {}
.pdp-price__amount-special {}
/* PriceRange */
.dropin-price {}
.pdp-price-range {}
.pdp-price-range__label {}
/* Product */
.pdp-carousel__controls__container--thumbnailsColumn {}
.pdp-carousel__controls__container--thumbnailsRow {}
.pdp-overlay__content {}
.pdp-product {}
.pdp-product__actions {}
.pdp-product__actions--out-of-stock {}
.pdp-product__attributes {}
.pdp-product__breadcrumbs {}
.pdp-product__buttons {}
.pdp-product__column-body {}
.pdp-product__column-container {}
.pdp-product__content {}
.pdp-product__content-column {}
.pdp-product__description {}
.pdp-product__gallery-column {}
.pdp-product__gallery-content {}
.pdp-product__header {}
.pdp-product__images--carousel {}
.pdp-product__images--carousel--thumbnails {}
.pdp-product__images__placeholder {}
.pdp-product__options {}
.pdp-product__out-of-stock__text {}
.pdp-product__overlay {}
.pdp-product__overlay__carousel {}
.pdp-product__price {}
.pdp-product__price--grey {}
.pdp-product__price-special {}
.pdp-product__prices {}
.pdp-product__quantity {}
.pdp-product__short_description {}
.pdp-product__sku {}
.pdp-product__title {}
/* Swatches */
.pdp-swatches {}
.pdp-swatches__field {}
.pdp-swatches__field__label {}
.pdp-swatches__options {}
/* Zoom */
.pdp-zoom {}
.pdp-zoom--no-effects {}
.pdp-zoom--zoomed {}
.pdp-zoom__close-button {}