How to add Custom CSS to style a popup
Custom CSS Guide for Push Cart Popup
This guide explains which CSS selectors control which parts of the popup, and how you can safely customise the popup appearance using the Custom CSS field.
Use the instructions below, and code samples to see what you can do to customise the popup.
Popup Structure Overview
Popup Wrapper
└─ Popup Content
├─ Header (title + close button)
├─ Added to cart text
├─ Purchased product section
├─ Upsell section title
└─ Upsell product list (rows)
Popup Container
Popup wrapper (global styles)
Controls popup-wide styling such as background, padding, border radius, width, etc.
.push-cart-dialog-content-wrapperPopup panel
Controls the visible popup panel itself.
.push-cart-dialog-contentExamples:
.push-cart-dialog-content {
border-radius: 16px;
padding: 18px;
}
Header (Title + Close Button)
Popup header row
.push-cart-popup-headerPopup title text
.push-cart-popup-titleClose button container
.close-icon-containerClose icon (SVG)
.close-iconExamples:
.push-cart-popup-title {
font-size: 20px;
font-weight: 700;
}
.close-icon {
width: 18px;
height: 18px;
}
"Added to cart" Text
Controls the confirmation text shown after a product is added.
.added-to-cartExample:
.added-to-cart {
font-size: 14px;
opacity: 0.8;
}
Purchased Product Section
This is the product already added to cart.
Section wrapper
.push-upsell-purchased-product-sectionProduct row
.product-rowProduct image wrapper
.product-imageProduct image element
.product-image imgPurchased product title
.push-upsell-purchased-product-section .product-titleExamples:
.push-upsell-purchased-product-section .product-title {
font-weight: 600;
}
.push-upsell-purchased-product-section .product-image img {
border-radius: 10px;
}
Upsell Section Title
Controls the text like:
"You might also be interested in these"
.upsell-products-titleExample:
.upsell-products-title {
font-size: 14px;
font-weight: 600;
margin-top: 14px;
}
Upsell Products List
Each upsell product row uses the following structure.
Upsell row container
.csup-product-row-containerProduct info block
.product-info-blockUpsell product image
.product-image
.product-image-clickable
Upsell product title
.product-title
.product-title-clickable
Price row wrapper
.product-price-row
.product-price-row-clickable
Price text
.product-priceDivider between rows
.product-row-dividerExamples:
.upsell-products-block .product-title {
font-size: 14px;
font-weight: 600;
}
.upsell-products-block .product-price {
font-size: 14px;
}
.product-row-divider {
opacity: 0.15;
}
Add to Cart (ADD) Button
Button element
.push-cart-button.add-to-cart-buttonButton inner text
.button-contentExamples:
.push-cart-button.add-to-cart-button {
border-radius: 10px;
padding: 10px 14px;
font-weight: 700;
}
.push-cart-button.add-to-cart-button .button-content {
letter-spacing: 0.3px;
}
Variant Selector (Dropdown)
Used when an upsell product has variants.
Variant selector wrapper
.product-variant-selector-wrapperVariant select container
.variant-select-container<select> element
Target using structure (no stable class on the select itself):
.variant-select-container selectExample:
.variant-select-container select {
width: 100%;
border-radius: 10px;
padding: 10px;
}
Need Help?
If a styling request isn’t covered here, contact support with:
- A screenshot of the popup
- The exact visual change required
- Any existing custom CSS already applied
Updated on: 17/12/2025
Thank you!