Hello everybody!
Is there any chance to get Paypal Express (woocommerce plugin) button look nice on cart page?
By default it is quite dislocated.
It is easy to see by adding (lets say) this item http://tinyurl.com/q4h5npw to cart
On cart page … Paypal Express button definitely needs another location…
And btw, and is it possible to make Cart Totals box wider to have all shipping options fit well?
Kind Regards,
Denis
Hi dmaca!
1) You can add a margin to the paypal button image. Use following code
.paypal_checkout_button img{
margin-top: 20px;
}
If you want a completely different button position you need to contact the PayPal Express plugin author because this would require am extension code customization.
2) Yes, use following css code and insert it into the quick css field
.woocommerce-cart .cart-collaterals .cart_totals {
width: 100%;
}
Regards,
Peter
Hi Peter!
Thank you very much for (1) Paypal badge
Thank you very much for (2) Cart Total box width
Works smoothly!!!
I just wonder if it works the same on Replete
I just checked and Paypal badge code works on Replete as well!
But with Cart Totals.. On replete that box is right-aligned… and no need in our case to be a full-width box.
Can i make it about 20-30% wider? But not 100%?
Kind Regards,
Denis
P.S. Guys, do you ever sleep? :)
Hey!
If you mean the (ex. VAT) stuff, its unrelated to the width of the container actually. WooCommerce defaults it to the next line which you can change with:
.woocommerce-cart .cart-collaterals .cart_totals table small {
display: inline;
}
Cheers!
Devin
Hi Devin,
No, I mean Cart total box itself. To make it wider in order all shipping options fits well… and are in line.
Thanks again!
Kind Regards,
Denis
Hi!
Did you add the css from above? My point is that the box width doesn’t actually make the items fit onto one line.
Regards,
Devin