Jump to content

Change Margins/Padding in Cart

Recommended Posts

  • Replies 3
  • Views 196
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

@BoxfreshCreative Hi! You can add this code under Website > Pages > Website Tools > Custom CSS

@media screen and (min-width: 992px) {
    #sqs-cart-container {
        padding-top: 40px;
        padding-left: 100px;
        padding-right: 100px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 991px) {
    #sqs-cart-container {
        padding-top: 40px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 60px;
    }
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment
2 hours ago, Lesum said:

@BoxfreshCreative Hi! You can add this code under Website > Pages > Website Tools > Custom CSS

@media screen and (min-width: 992px) {
    #sqs-cart-container {
        padding-top: 40px;
        padding-left: 100px;
        padding-right: 100px;
        padding-bottom: 60px;
    }
}

@media screen and (max-width: 991px) {
    #sqs-cart-container {
        padding-top: 40px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 60px;
    }
}

 

That worked perfectly thanks, one more thing any idea how i shrink the size of the Checkout button? its far to long

Link to comment

@BoxfreshCreative You can add this code to reduce the width of the Checkout button. 

#cart .cart-checkout {
    display: flex !important;
    justify-content: flex-end;
    align-items: flex-end;
}

#cart .sqs-button-element--primary.cart-checkout-button {
    max-width: 150px;
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.