> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://adoric.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Add custom CSS to your cart

You can add your own CSS to change how your cart looks. Go to **Cart** tab > **Settings**, then open the **CSS** tab in the **Custom code** card.

Custom CSS is for small design changes that the settings don't cover. Let's add some.

| Custom CSS used to be at the bottom of **Style**. It's now in **Settings** > **Custom code**, and any CSS you added before is already there.

## Add your CSS

1. In your Shopify admin, open **Adoric Cart**, then click your cart in the **Carts** list.
2. At the top of the left panel, click the **Cart** tab.
3. Click **Settings**.
4. In the **Custom code** card, click the **CSS** tab. It's open by default.
5. Enter your CSS. It applies to the whole cart, and you see it in the live preview right away.

There's no switch to turn it on. If the editor is empty, nothing is added to your cart.

||| Wrong CSS can hide or break parts of your cart. Check the live preview after every change.

![Custom code in Settings, with the CSS tab open.](https://storage.crisp.chat/users/helpdesk/website/-/7/d/6/7/7d6794400faa1000/approved-73-custom-code-css_h0lno9.png)

*Custom code in Settings, with the CSS tab open.*

## Use the code editor

Click the sun or moon icon to switch the code editor between light and dark colors.

To see more of your code, click the expand icon in the code editor. It opens in full screen.

## Try the settings first

Most design changes don't need code. Colors, fonts, sizes, roundness, and borders are all in **Style**. Each section also has its own style settings.

## Get help with code

Not sure what to write? Our team can help you set it up for free. Click **Get support** in the box above the code editor and tell us what you want to change.

## Use CSS with A/B tests

Each cart, and each A/B test variant, has its own CSS. If you run an A/B test, add the CSS to every variant that needs it.

## Check the result

Look at the live preview on the right of the cart editor. It shows your CSS changes.

When you're happy with it, click **Save** in the top bar. To show the cart to shoppers, turn on the **Cart status** switch in the top bar, so the cart shows **Active**.

## Related articles

* Add custom JavaScript to your cart
* Add custom HTML to your cart
* Change fonts, sizes, and the cart layout
* Get help from the Adoric team

Still need help? Get help from the Adoric team