How to stack payment buttons vertically on MOBILE

Solved

How to stack payment buttons vertically on MOBILE

CreatorTim
Explorer
359 1 52

Hey guys, I want to adjust the payment buttons on mobile.

I’d like to stack them vertically:

  • On top: “Add to cart”
  • Below that: “Pay with PayPal”
  • And below that: “More payment options”

Currently, the layout is adapted based on how I’ve set it up for the desktop, but I want to leave the desktop version as it is. On mobile, I want the buttons to be stacked vertically and almost the full width of the screen.

 

Here’s how it looks on my store right now:

CreatorTim_0-1736100612643.png

 

 

And here’s how I want it to look:

CreatorTim_1-1736100612432.png

 

My store URL: https://1049xn-ya.myshopify.com/

And here’s a store where it looks the way I want: https://tomnoske.store/ (check it out on mobile; the desktop version is the same as mine)

 

I ONLY WANT THIS ON MOBILE!

 

Thanks a lot,
Tim

Accepted Solution (1)

LizHoang
Shopify Partner
549 67 97

This is an accepted solution.

Hi @CreatorTim 
I hope this answer will be helpful to you.

Please follow the following instructions:
1. Go to Shopify > Theme > Customize: https://prnt.sc/Lc3MCyXpW8zw
2. Copy and paste this code on Theme settings > Custom CSS section: https://prnt.sc/pmYP1ElPwdh7

 

 

@media (max-width: 768px) {
.product-form__buttons {
    flex-direction: column !important;
}
.product-form__buttons .shopify-payment-button, .product-form__buttons .product-form__submit {
    width: 100% !important;
}
}

 

 


Here is the result.

LizHoang_1-1736171120286.png

Best,
Liz - Avada Support Team.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program

View solution in original post

Replies 2 (2)

LizHoang
Shopify Partner
549 67 97

This is an accepted solution.

Hi @CreatorTim 
I hope this answer will be helpful to you.

Please follow the following instructions:
1. Go to Shopify > Theme > Customize: https://prnt.sc/Lc3MCyXpW8zw
2. Copy and paste this code on Theme settings > Custom CSS section: https://prnt.sc/pmYP1ElPwdh7

 

 

@media (max-width: 768px) {
.product-form__buttons {
    flex-direction: column !important;
}
.product-form__buttons .shopify-payment-button, .product-form__buttons .product-form__submit {
    width: 100% !important;
}
}

 

 


Here is the result.

LizHoang_1-1736171120286.png

Best,
Liz - Avada Support Team.

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program
CreatorTim
Explorer
359 1 52

Thank you! WORKS