Change Cart Drawer Color Palette

Hey guys! Anyone knows how to change the cart drawer background color?

Hey @veluxe1

Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

Best Regards,
Moeed

pass : tkbytyra

i want to change the background color to #7C2529 and the text to white, button stay as current

Hey @veluxe1

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code in the bottom of the file above </body> tag
<style>
.cart-drawer__inner, .cart-drawer__content {
    background: #7C2529 !important;
}
.cart-drawer__content, h2#cart-drawer-heading {
    color: white !important;
}
</style>

RESULT:


Hope that helps! If it did, a Like and Marking it as Solution goes a long way and helps others find the fix faster too.

Best,
Moeed

How to change the whole background? And also the other text to white too

My bad, should’ve also checked the cart too after adding a product in it. Anyways, remove the previous code and add this updated code below with the same steps mentioned above.

<style>
.cart-drawer__inner, .cart-drawer__content, .cart-drawer__summary {
    background: #7C2529 !important;
}
.cart-drawer__content, h2#cart-drawer-heading, .cart-items__details *, button.button.cart-items__remove, .theme-drawer__badge, .cart-totals__tax-note {
    color: white !important;
}
</style>

RESULT:


Hope that helps! If it did, a Like and Marking it as Solution goes a long way and helps others find the fix faster too.

Best,
Moeed

Thank you so much! Really appreciate it

Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.