Skip to main content

Overview

This guide is designed for merchants using Upcart who want to change the color of the text that says ‘Save $XXX’ beneath the products in the cart. Changing the color allows you to design your cart with your own branding in mind.
Try the built-in setting first. The Cart Editor has a Savings text color picker under Design > Colors that sets exactly this colour, on both module versions, with no code. Only reach for CSS when you need something the picker can’t express — a gradient, per-product colours, or overriding the picker on one surface.
By using a bit of CSS and some basic coding knowledge, you can easily add this functionality to your store. These customization options are perfect for store owners or developers with a little bit of CSS experience.

Example

Here is what the cart will look after changing the color of the savings text: Upcart cart drawer with the product Save 2.00 dollar savings text shown in red

Accessing Custom CSS Settings

To begin customizing the CSS for your Upcart, follow these steps:
  1. Open the Upcart App.
  2. Click on Cart Editor.
  3. Open Settings and select the Custom CSS tab (behind More settings if the tab row overflows).

Applying Custom CSS

Once you are in the Custom CSS section, you can change the color of the product savings text by following these steps:
  1. Locate the CSS input area.
  2. Copy and paste the following code into the CSS input area:
If you are on Version 1, use this code:
If you are on Version 2, use this code:

Choosing a Color format

You can replace red with any color of your choice using three different ways. For example:
  • Named Color: green
  • RGB: rgb(0,128,0)
  • Hex Code: #008000

Still Need Help?

If you need any assistance with customizations, we recommend consulting with a Shopify Expert about adding HTML, CSS, and even JavaScript to your cart drawer. See Shopify Experts