• Resolved mrv63

    (@mrv63)


    I’ve spent way more time than I’d like to admit on trying to add a 5px margin to the bottom of the G Pay button on my single Product page. It’s driving me insane. After doing some research, I guess it has something to do with the styling being added through javascript not css? Please help me as the button is directly touching the paypal and venmo buttons directly beneath it and it looks terrible.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi there @mrv63,

    Thanks for reaching out.

    I understand the issue you’re facing with the styling of the G Pay button on your single product page.

    While we do not directly provide support for customization, we might be able to help you out with this.

    Could you please share the link to the single Product page so that we can take a closer look at it?

    Thread Starter mrv63

    (@mrv63)

    This link and any other single product page shows the lack of a margin below the gpay button:

    https://troutartsupply.com/trouttemp2024/product/boston-rusto-fats/

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello mrv63

    Thank you for your reply.

    As we mentioned earlier, custom-coded solutions are not covered by our Support Policy.
    But if this can be fixed by some minor CSS, I will be happy to assist.

    I checked the product you shared but could not see any Google Pay button.
    Have you disabled it?

    Here is a screenshot:

    I look forward to your reply. ??

    Best regards.

    Thread Starter mrv63

    (@mrv63)

    The button only shows up if you are logged into a google account. And also, you are in the shopping cart/checkout area not the product page. The google pay button is fine in the shopping cart/checkout.

    • This reply was modified 6 months, 3 weeks ago by mrv63.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @mrv63

    To alter the design of elements like you are requesting would require some custom code to be written. Unfortunately, according to our Support Policy, that’s a bit outside of our support scope. However, this guide should help you get started in the right direction: https://woocommerce.com/document/stripe/customization/style-payment-form/

    Alternatively, you can add this custom CSS to your site and see whether it make any difference or not:

    .single-product #ppc-button-ppcp-gateway {
    	margin-top: 10px !important;
    }

    If this makes no difference, we recommend asking development questions on the #developers channel of the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

    Thread Starter mrv63

    (@mrv63)

    That did the trick. Thanks!

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @mrv63

    That’s great to hear! I’m glad we were able to help!

    I will mark this thread as resolved. Should you have further inquiries, kindly create a new topic here.

    Meanwhile, if it isn’t too much to ask for – would you mind leaving us a review here?

    It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a really long way.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t add margin to bottom of G Pay button’ is closed to new replies.