How to change"Cart Drawer" backround colour to white in the code

Hello,

Can someone help me change the cart backround to White please and the outline of the “Quantity selector” to Black via editing code?

“X” Theme

Hi @DBGG ,
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code

Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid

Step 3: Insert the below code at the bottom of the file → Save

.Drawer__Content {
    background-color: #ffff !important;
}

.QuantitySelector {
    border-color: black !important;
}

Here is result:

Hope this can help you,

If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you :heart_eyes:

Hello @DBGG
go to Online store---------------------> Theme-----------------> edit code--------------> find the Theme.scss file and paste this css code at the very bottom

#sidebar-cart .Drawer__Content {
    background: #ffffff;
}

Please let me know
Thanks

1 Like