Skip to main content
⚠️ Important notice These selectors apply only to Version 1 (V1) of the Upcart cart modules. If you’ve upgraded to Version 2 (V2), these selectors will not work. For V2 carts, please refer to the Version 2 CSS Selectors documentation, which includes the updated selectors designed specifically for the new module architecture. To check which version you’re using, go to Upcart > Cart Editor > Settings > Cart versioning. For more information about migrating from V1 to V2, see the V2.0 migration guide.

Overview

If you want to change the appearance of your cart, such as hiding a price, adjusting text size, or repositioning a button, this is the place to begin. This CSS selector library provides the tools you need to make those changes with your own custom code. All available CSS selectors are grouped in this article, along with links to helpful resources for writing and testing your styles.

Note

While we provide this library for your convenience, the Upcart support team cannot help with building or fixing custom code. This is part of our Customization Policy. We recommend consulting with a Shopify Expert for custom code solutions. See Shopify Experts

How to Use Upcart CSS Selectors

This article is a library of CSS selectors you can use to style and customize your Upcart cart drawer. Each selector targets a specific part of the cart—like the header, product rows, upsells, rewards module, and more. You can use these selectors to:
  • Hide or restyle elements
  • Change spacing, fonts, or colors
  • Adjust layout based on your store’s branding
To apply your CSS, go to Upcart > Settings > Custom CSS, and paste your styles into the editor.

What to Know Before Adding CSS

Before jumping into your custom styles, here are a few tips to help things go smoothly. These will make it easier to test changes, avoid surprises, and get the look you want without breaking anything in your cart.

CSS Customization Checklist:

  • Test in a safe environment: Use a preview or unpublished theme when possible before going live.
  • Start small: Make one change at a time so it’s easier to track what worked or didn’t.
  • Paste styles in the right place: Use the Upcart Editor > Settings > Custom CSS field to add your code.
  • Use Inspect Tool: Right-click on elements in your browser and select Inspect to find and test selectors live.
  • Avoid assumptions: Not every element appears on all carts—test with different carts (with/without rewards, upsells, etc.).

CSS Selectors Library

Below is a list of all the CSS selectors available in Upcart. These are grouped by module (like header, products, upsells, etc.) to make it easier for you to find what you want to customize. Use this as a reference when writing your own styles.

General Settings

Design Module

CSS SelectorDescription
.upcart-cartMain container for the cart drawer.
.upcart-cart-bodyHolds the primary content of the cart.
.upcart-backdropThe dark overlay that appears behind the cart.
.upcart-loading-bar-containerDisplays a loading bar while the cart is loading.

Header Module

CSS SelectorDescription
.upcart-headerContainer for the cart header, including the logo and close button.
.upcart-header-close-buttonButton used to close the cart drawer.
.upcart-header-close-button-iconThe icon displayed inside the close button.
.upcart-header-logoDisplays the logo image in the cart header.
.upcart-header-textThe title text displayed in the cart header.

Body Settings

Announcements Module

CSS SelectorDescription
.upcart-announcementBanner or announcement section within the cart.
.upcart-announcement-skeletonSkeleton placeholder for the announcement section.

Rewards Module

CSS SelectorDescription
.upcart-rewardsMain container for the rewards section.
.upcart-rewards-messageDisplays progress messages related to rewards.
.upcart-rewards-bar-backgroundBackground layer of the rewards progress bar.
.upcart-rewards-bar-foregroundForeground/progress fill of the rewards bar.
.upcart-rewards-tierRepresents a specific tier in the rewards system.
.upcart-rewards-tier-circleVisual circle indicator for a reward tier.
.upcart-rewards-tier-iconIcon inside a reward tier circle.
.upcart-rewards-tier-descriptionDescription text under each reward tier.
.upcart-rewards-skeletonSkeleton container for the rewards section.
.upcart-rewards-message-skeletonSkeleton for the rewards progress message.
.upcart-rewards-bar-skeletonSkeleton for the rewards progress bar.

Recommendations Module

CSS SelectorDescription
.upcart-recommendation-moduleWrapper for the entire product recommendation module.
.upcart-recommendations-titleTitle text for the recommendations section.
.upcart-recommendations-shop-now-buttonButton to shop a recommended product directly from the cart.

Subscription Upgrades Module

CSS SelectorDescription
.upcart-subscription-upgrade-sectionSection for promoting subscription upgrades in the cart.
.upcart-subscription-upgrade-buttonButton used to trigger a subscription upgrade.
.upcart-subscription-upgrade-dropdownDropdown to select available subscription upgrade options.

Upsells Module

CSS SelectorDescription
.upcart-upsellsMain container for the upsells section.
.upcart-upsells-moduleWrapper for the upsells module.
.upcart-upsells-titleTitle of the upsells section.
.upcart-upsells-buttonButton to add upsell items to cart.
.upcart-upsell-item-cardCard layout for each upsell product.
.upcart-upsell-item-titleTitle of the upsell product.
.upcart-upsell-item-image-wrapperWrapper around the upsell product image.
.upcart-upsell-item-imageImage of the upsell product.
.upcart-upsell-item-pricePrice of the upsell item.
.upcart-upsell-item-price-rowRow containing price and compare price.
.upcart-upsell-item-compare-priceOriginal price (strikethrough) for the upsell.
.upcart-upsell-item-variant-selectorVariant dropdown for upsell products.

Product Settings

CSS SelectorDescription
.upcart-products-sectionContainer for all products in the cart.
.upcart-product-itemWrapper for an individual product item.
.upcart-product-titleName of the product in the cart.
.upcart-product-title-linkLink that wraps the product title.
.upcart-item-prices-rowRow that contains pricing information.
.upcart-item-priceFinal price shown to the customer.
.upcart-item-compare-priceOriginal (strikethrough) price.
.upcart-product-savingsSpecific savings for a cart item.
.upcart-item-optionContainer for product options like size or color.
.upcart-item-option-categoryLabel for the product option category.
.upcart-item-option-valueValue of the selected product option.
.upcart-item-propertiesWrapper for additional product metadata.
.upcart-item-propertyIndividual product property.
.upcart-item-property-subscriptionDisplays subscription details for the item.
.upcart-product-quantity-inputQuantity input field for the product.
.upcart-product-quantity-minusButton to decrease quantity.
.upcart-product-quantity-plusButton to increase quantity.
.upcart-product-image-wrapperWrapper around the product image.
.upcart-quantity-warningContainer for any quantity limit message.
.upcart-quantity-warning-textText for quantity warning shown to the user.

Add-ons Module

CSS SelectorDescription
.upcart-addonsMain container for the add-ons section.
.upcart-addons-titleTitle of the add-ons section.
.upcart-addons-product-descriptionDescription of the add-on product.
.upcart-addons-pricePrice of the add-on product.
.upcart-addons-compare-priceOriginal (strikethrough) price of the add-on.
.upcart-addons-toggleToggle switch to add/remove an add-on.
.upcart-addons-image-wrapperWrapper for the add-on image.

Discount Codes Module

Savings Row

CSS SelectorDescription
.upcart-savings-rowWrapper for the entire discount/savings section in the cart.
.styles_Footer__savingsCodes__Container for the label (“Discounts”) and associated discount codes.
.upcart-discount-code-badgeWrapper for each discount code badge shown in the UI.
.upcart-discount-code-iconContainer for the discount icon (e.g., SVG ticket symbol).
.upcart-discount-code-textTextual representation of the discount code (e.g., “AUTO 5”).
.upcart-savings-amountDisplays the actual amount saved from discounts.

Express Payments Module

Note

The Express Payments buttons in Upcart serve as visual containers, while the content and functionality within them are fully controlled by Shopify. As a result, we’re unable to modify their behavior or appearance. Refer to the Express Payments Module Guide for more information.
CSS SelectorDescription
.upcart-express-pay-buttons-containerContainer for all express pay buttons.
.upcart-express-pay-buttons-rowRow layout for express pay buttons.
.upcart-express-pay-buttonGeneral selector for an express payment button.
.upcart-express-pay-button-shop-paySpecific button for Shop Pay.
.upcart-express-pay-button-google-paySpecific button for Google Pay.
.upcart-express-pay-button-paypalSpecific button for PayPal.
.upcart-express-pay-button-apple-paySpecific button for Apple Pay.
.upcart-express-pay-button-amazon-paySpecific button for Amazon Pay.
.upcart-express-pay-button-meta-paySpecific button for Meta Pay.

Trust Badges Module

CSS SelectorDescription
.upcart-trust-badgeContainer for the trust badges.
.upcart-trust-badge-imageImage element used in a trust badge.

Additional Notes Module

CSS SelectorDescription
.NotesModule_NotesModule__Container for the additional notes.
.NotesModule_NotesModule__titleContainer__Title container of the notes section
.NotesModule_NotesModule__dropdownContainer__Title for the dropdown of the notes section
.NotesModule_NotesModule__textModule__ textareaInput area for adding a custom note to the cart.

Upcart Settings Module

Skeleton Selectors

CSS SelectorDescription
.upcart-skeletonGeneral skeleton loader wrapper for the cart.
.upcart-product-item-skeletonPlaceholder while a product loads.
.upcart-product-image-skeletonPlaceholder for a product image.
.upcart-product-title-skeletonPlaceholder for product title text.
.upcart-product-price-container-skeletonPlaceholder for pricing area.
.upcart-product-quantity-skeletonPlaceholder for quantity controls.
.upcart-item-option-skeletonPlaceholder for item options.
.upcart-upsells-module-skeletonSkeleton for the upsells module.
.upcart-upsells-title-skeletonSkeleton for upsell section title.
.upcart-upsell-item-image-skeletonSkeleton for upsell product image.
.upcart-upsell-item-title-skeletonSkeleton for upsell product title.
.upcart-upsell-item-price-skeletonSkeleton for upsell product price.
.upcart-upsells-button-skeletonSkeleton for upsell action button.
.upcart-trust-badge-skeletonSkeleton for trust badge container.
.upcart-trust-badge-image-skeletonSkeleton for trust badge image.
.upcart-announcement-skeletonSkeleton placeholder for announcements.
.upcart-rewards-skeletonSkeleton for the rewards section.
.upcart-rewards-message-skeletonSkeleton for reward messages.
.upcart-rewards-bar-skeletonSkeleton for reward progress bar.
.upcart-addons-skeletonSkeleton for the add-ons section.
.upcart-addons-image-wrapper-skeletonSkeleton for add-on product image.
.upcart-addons-skeleton-text-containerSkeleton for text content in add-ons.
.upcart-discount-code-module-skeletonSkeleton for discount code module.
.upcart-discount-code-input-skeletonSkeleton for discount code input.
.upcart-discount-code-button-skeletonSkeleton for discount code apply button.
.upcart-checkout-button-container-skeletonSkeleton for checkout button wrapper.
.upcart-checkout-button-skeletonSkeleton for checkout button.
.upcart-express-pay-buttons-container-skeletonSkeleton for express payment container.
.upcart-express-pay-button-skeletonSkeleton for individual express payment button.

Zapiet Integration

CSS SelectorDescription
.upcart-integration-zapiet-pickupSection for displaying Zapiet pickup information.

Helpful resources to get started: