Overview
The cart editor preview is not 100% accurate and may look slightly different when viewed on your live store. Upcart runs directly on your storefront, which means your theme’s CSS styling files can affect how cart elements appear. These theme styles can change font sizes, colors, spacing, or other design aspects. Upcart’s editor does not have access to your theme’s files, so it cannot perfectly reflect your store’s live appearance. We recommend working in a Draft theme so you can view real-time changes on your storefront without affecting your live cart. Ensure you have activated the Cart Editor by setting its status to “Active” under the Upcart > Cart Editor section before testing.Example
In this example, the store’s theme includes a CSS rule that says: “All level 3 headings should have a font size of 20px and be red.” Because Upcart uses level 3 headings (H3) for some elements, these styles apply to:- Product titles
- Upsell item titles
- Add-on titles
Solution 1: Enable Shadow DOM
You can fix this by enabling Render Cart in Shadow DOM in your Upcart settings. Enabling the Shadow DOM setting also helps resolve missing preview issues that may occur due to theme CSS interference.- Go to Upcart > Cart Editor > Settings > Advanced Settings.
- Check Render cart in Shadow DOM.
Solution 2: Use Custom CSS
If you prefer to manually adjust styling, you can add Custom CSS directly in Upcart’s settings.- Go to Upcart > Cart Editor > Settings > Custom CSS.
- Add or modify the following CSS to match your desired design:
Recommendation
To ensure the best results:- Test your cart design using a Draft theme.
- Review theme CSS files for global heading or text rules that may affect Upcart.
- Use Shadow DOM to keep your cart styling consistent across all devices.

