help removing white border from cart

4 0 1


 how do I remove the white side borders from my cart drawer? website is for anyone using inspect element to determine issue.


i can’t find a fix

Reply 1 (1)

Shopify Partner
5938 1429 1759

Hi @outerstreets 

I have 2 solution. You can check them. 

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:

1st. i take out the padding both sides. but the Cart and items will be in the edge so I add padding each of the items. That is why the border near the total is not same width on the cart.



.mini-cart-content.shadow.text-center.px-4.d-flex.flex-column {
    padding: 0px !important;
},, {
    padding: 0 20px;


And Save. 

2nd Solution: I didnt take out the padding but I add background on the padding you like to take out.



.mini-cart-content.shadow.text-center.px-4.d-flex.flex-column {
    background: black;


And Save. 



Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 



Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at