Does anyone know how to do this?
Topic summary
A user seeks to customize the drawer cart’s color scheme and text styling in their Shopify theme.
Solutions Provided:
Three community members offered CSS-based approaches:
- Method 1: Add CSS code to
theme.liquidfile before the</head>tag - Method 2: Insert CSS into
base.css,style.css, ortheme.cssin the Assets folder - Method 3: Use the Theme Settings > Custom CSS section (recommended for ease of access)
Key CSS Changes:
- Background color changed to dark blue (#202A44)
- Text color set to white for visibility
- Quantity input styling adjusted to maintain readability
Follow-up Request:
The original poster asked for additional customization to make the quantity buttons and borders white. A supplementary CSS snippet was provided to address this.
Status: The discussion appears resolved with working code examples and visual results shared by multiple contributors.
- Go to Online Store → Theme → Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.drawer__inner.gradient.color-scheme-1 {
background:#202a44;
}
.drawer__inner * {
color: white;
}
quantity-input.quantity.cart-quantity * {
color: black;
}
- And Save.
- Result:
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
To complete your requests, please follow these steps:
- Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
- Paste the code provided into the Custom CSS section.
div#CartDrawer .drawer__inner {
background: #202A44 !important;
}
div#CartDrawer .drawer__inner * {
color: white !important;
}
div#CartDrawer .drawer__inner quantity-input.quantity.cart-quantity {
background: #202A44 !important;
}
Here is the result:
I hope this helps
Best,
Daisy
thanks! and how do i make button and border around quantity white?
You can try this code there:
div#CartDrawer {
color: white;
}
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.



