We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How to add space inside the cart drawer on the right side to match the left.

How to add space inside the cart drawer on the right side to match the left.

9INE
Shopify Partner
27 0 4

Hi there, I have a spacing issue with the cart drawer on the right side where everything is too close to the edge. I am trying to add padding internally in the cart drawer on the right side to create the same amount of space as the left side (please see image). Wish I knew how to do this but tried for hours and still can't get the coding right, in desperate need of help here lol.

Cart spacing.jpg

Replies 7 (7)

WalkYourStyle
Navigator
475 58 79

Can you please share you store's URL if that's possible and also the theme you are using ?

9INE
Shopify Partner
27 0 4

BSSCommerce-TC
Shopify Partner
225 49 51

Hi  @9INE ,

 

You can follow these steps

Step 1: Go to Online store > Themes > Edit code and find base.css file

Step 2: Insert below code at the end file and Save them

.drawer__inner {
   width: 45rem !important;
   padding: 0px 4.5rem !important;
}

 

It would be like this

BSSCommerceTC_0-1720796219542.png

 

 

If our suggestions are useful, please let us know by giving it a like, marking it as a solution.


MIDA: Heatmap, Record & Replay |BLOOP Referral Program, Reward |

Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

BSS-TekLabs
Shopify Partner
2401 695 836

Hello.
Our team is ready to help you.
Please share your website address and access password (if necessary) so that we can check and assist you.

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


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now

Made4uo-Ribe
Shopify Partner
10211 2427 3079

Hi @9INE 

Which store you like to add padding in the cart? It is on your shopworms? If it is check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

#slidecarthq .slidecarthq {
    padding: 0 10px;
}

 

  • And Save. 

 

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

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
9INE
Shopify Partner
27 0 4

BSS-TekLabs
Shopify Partner
2401 695 836

- Here is the solution for you @9INE 
- Please follow these steps:

step.png

- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.

@media only screen and (min-width: 600px) {
cart-drawer-items {
    padding-right: 1.5rem !important;
}
}

- Here is the result you will achieve:

BSSTekLabs_0-1720842526769.png

 

 

- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.

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


Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)


Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now