Studio Theme Cart page - Payment Icons not alligned

Solved

Studio Theme Cart page - Payment Icons not alligned

Matty2019
Excursionist
38 0 11

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

Screen Shot 2025-03-13 at 5.17.55 pm.png

TIA

Accepted Solution (1)

Moeed
Shopify Partner
6979 1883 2300

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:

Moeed_0-1741849244251.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 5 (5)

GTLOfficial
Shopify Partner
785 164 173

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
25.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh
Matty2019
Excursionist
38 0 11

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?

Moeed
Shopify Partner
6979 1883 2300

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:

Moeed_0-1741849244251.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Dan-From-Ryviu
Shopify Partner
11306 2214 2383

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;
    }
} 

Screenshot 2025-03-13 at 14.07.20.png

- 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.

Matty2019
Excursionist
38 0 11

Thankyou. this also works. IWll just accept the first solution that wa wrtten to make it fair.

 

Thankyou