Center the smart payement buttoms payement code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good morning.
I have the problem to have my smart payment buttons code <script src="https://www.paypal.com/sdk/js?client-id=sb"></script>
<script>paypal.Buttons().render('body');</script> in the middle of my website page. This one is always to left and is, for me, unusable in this position. I've tested the majority of codes for center a code, without success! Have you a solution?
Now, I want to know if it's also possible to include a .css page with a centralization function of codes?
I hope to your answer to continue my work on my website.
Cordially.
mja Mahé
Re :
I've just resolved my problem with a .css code :
global {margin-left: auto;
margin-right: auto;
width: ...; }
You must indicate width for center the script code.
Source : https://www.alsacreations.com/article/lire/539-Centrer
Heartily.
mja Mahé
- Labels:
-
PayPal HTML Buttons
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- Paypal express checkout issues in Payflow
- Wix,Cedit/Debit card payement button missing in PayPal Payments Standard
- Is there any way to split payment between multiple accounts using paypal API? in Sandbox Environment
- How does the onError function work? in PayPal Payments Standard
- Paypal approval on Razorpay in PayPal Payments Standard