Modifying payment buttons.

Modifying payment buttons.

CreatorTim
Explorer
314 1 48
Hey guys, I need help with modifying the payment buttons.

 

Here’s what it looks like on my site right now:

CreatorTim_0-1733170882289.png

 

And here’s how I want it to look:

CreatorTim_1-1733170903243.png

So, I want to:

  1. Fill the "Add to cart" button with dark grey.
  2. Align the buttons side by side.
  3. Expand them to be as wide as the text.
  4. Move "More payment options" closer to "Pay with PayPal."
  5. Add a dividing line for separation.

I’d appreciate any help.
Tim

Replies 9 (9)

namphan
Shopify Partner
2197 289 327

Hi @CreatorTim,

Please send the website link, I will check it for you

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
CreatorTim
Explorer
314 1 48

Hey, here it is: 1049xn-ya.myshopify.com

namphan
Shopify Partner
2197 289 327

Hi @CreatorTim,

Please go to Actions > Edit code > Assets > base.css file and paste this at the bottom of the file:

.product-form__buttons {
    max-width: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 1rem;
    border-bottom: 1px solid rgba(var(--color-button), var(--alpha-button-background));
    padding-bottom: 2.5rem;
}
.product-form__submit {
    width: 50% !important;
    margin-bottom: 0 !important;
    color: rgb(var(--color-button-text));
    background-color: rgba(var(--color-button), var(--alpha-button-background));
}
.shopify-payment-button {
    width: 50%;
}
more-payment-options-link {
    display: none;
}
Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
CreatorTim
Explorer
314 1 48

Hey, I really appreciate your help. It’s almost perfect.

 

I just need a few small tweaks:

 

Here’s how it looks now:

CreatorTim_1-1733341474814.png

 

I’d like to raise both buttons a bit, slightly trim the "Pay with PayPal" button at the bottom, and add "More payment options" below it.

Then just make the line less bold, just almost invisible.

 

Just like it is here:

CreatorTim_0-1733341120658.png

 

Thanks again!

namphan
Shopify Partner
2197 289 327

Hi @CreatorTim,

You just need to remove the following code, it will work fine:

Screenshot.png

Coffee tips fuels my dedication.
Shopify Development Service
PageFly Page Builder Optimize your Shopify store (Free plan available)
Need help with your store? namphan992@gmail.com
CreatorTim
Explorer
314 1 48

Hi @namphan

 

It doesn’t look exactly how I’d like it to.

 

Here’s how it looks now:

CreatorTim_0-1733518477722.png

 

And here’s what I’d like:

  1. Slightly increase the height of both buttons.
  2. Trim the "Pay with PayPal" button SLIGHTLY at the bottom and place "More payment options" right below it, but keep the top aligned with the "Add to cart" button.
  3. Fill the "Add to cart" button with black.
  4. Add an underline to "More payment options."
  5. Make the long dividing line less noticeable, almost invisible.

Basically, make everything look like it does here: https://tomnoske.store/products/cinema-luts

 

I really appreciate your help.
Tim

CreatorTim
Explorer
314 1 48

Hi, are we still connected?

It doesn’t look exactly how I’d like it to.

 

Here’s how it looks now:

CreatorTim_0-1733684206340.png

 

 

And here’s what I’d like:

  1. Slightly increase the height of both buttons.
  2. Trim the "Pay with PayPal" button SLIGHTLY at the bottom and place "More payment options" right below it, but keep the top aligned with the "Add to cart" button.
  3. Fill the "Add to cart" button with black.
  4. Add an underline to "More payment options."
  5. Make the long dividing line less noticeable, almost invisible.

Basically, make everything look like it does here: https://tomnoske.store/products/cinema-luts

 

I really appreciate your help.
Tim

Kyle_liu
Shopify Partner
359 46 60

Hi @CreatorTim 

Please share your store url.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to contact me Email Me Buy Me A Coffee
CreatorTim
Explorer
314 1 48

Hey, here it is: 1049xn-ya.myshopify.com