Shopify themes, liquid, logos, and UX
Hi,
on Studio theme, when viewing the cart page on Desktop (Mobile is fine), the Checkout Button is on top, however the Paypal and G Pay buttons underneath are not aligned to be even. How can i make them centered evenly under Checkout button, or make them bigger so there are all aligned evenly
seatdripco.au
TIA
Solved! Go to the solution
This is an accepted solution.
Hey @Matty2019
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>
shopify-accelerated-checkout-cart {
--shopify-accelerated-checkout-inline-alignment: center !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @Matty2019
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.
Go to online store ----> themes ----> actions ----> edit code ----> base.css
add this code at the end of the file and save.
.wallet-cart-grid {
justify-content: center !important;
}
.wallet-cart-button-container, .wallet-cart-button {
width: 188px !important;
}
.button:not([disabled]):hover:after, {
--border-offset: 0;
}
button#checkout {
background-color: #000 !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
thanks, i added it, but it didnt update on mine,
.wallet-cart-grid {
justify-content: center !important;
}
.wallet-cart-button-container, .wallet-cart-button {
width: 188px !important;
}
is there something else overriding it perhaps?
This is an accepted solution.
Hey @Matty2019
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>
shopify-accelerated-checkout-cart {
--shopify-accelerated-checkout-inline-alignment: center !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi @Matty2019
Please add this code to Custom CSS in Sales channels > Online Store > THemes > Customize > Theme settings
@media (min-width: 750px) {
html .cart__checkout-button { max-width: 28rem; }
html .cart__ctas {
justify-content: flex-end;
}
}
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Thankyou. this also works. IWll just accept the first solution that wa wrtten to make it fair.
Thankyou
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025