Tagged: x
-
AuthorPosts
-
March 9, 2017 at 9:31 am #1400634
marcooosParticipantHey, how do I style these payment options (and the “place order” button) so that they are aligned horizontally instead of being all bunched up?
March 9, 2017 at 9:32 am #1400637
marcooosParticipantThis reply has been marked as private.March 9, 2017 at 11:04 am #1400732
RupokMemberHi there,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
.woocommerce-checkout .checkout .payment_methods .payment_method_paypal label img { max-width: 300px; margin-top: -35px; }Hope this helps.
Cheers!
March 10, 2017 at 4:06 am #1401717
marcooosParticipantHey, thanks but I don’t think I explained it properly, this is what I want:
March 10, 2017 at 7:52 am #1401882
Paul RModeratorHi,
To achieve that, you can add this under Custom > Edit Global CSS in the Customizer.
.woocommerce-checkout form .payment_methods li { display: block; margin-bottom: 2.15em; float: none; width: 100%; overflow: hidden; }Hope that helps.
March 12, 2017 at 5:50 pm #1404066
marcooosParticipantAwesome thanks Paul!
Can you also tell me how to change the alignment of the checkbox and payment description?:
March 12, 2017 at 11:10 pm #1404346
RupokMemberHi there,
Would you explain how do you want to align them?
Thanks!
March 13, 2017 at 3:45 am #1404556
marcooosParticipantCan you see the image I attached? 🙂
March 13, 2017 at 4:34 am #1404605
Paul RModeratorHi,
You can add this under Custom > Edit Global CSS in the Customizer.
.woocommerce-checkout .form-row.form-row-wide.woocommerce-validated { clear:both; } .woocommerce-checkout .form-row.form-row-wide.woocommerce-validated .checkbox input[type="checkbox"] { top: -2px; }Hope that helps.
March 13, 2017 at 6:41 am #1404742
marcooosParticipantHi Paul, I’ve added the code but it doesn’t seem to have done anything at all
March 13, 2017 at 8:46 am #1404862
Paul RModeratorHi,
I went ahead and fix it by changing the code to this.
.woocommerce-checkout #s4wc_save_card_field, .woocommerce-checkout .form-row.woocommerce-validated { clear:both; float:none; } .woocommerce-checkout #s4wc_save_card_field .checkbox input[type="checkbox"], .woocommerce-checkout .form-row.woocommerce-validated .checkbox input[type="checkbox"] { top: -2px; }Kindly check in your end.
March 13, 2017 at 8:56 am #1404868
marcooosParticipantLooks great, thanks Paul!
March 13, 2017 at 9:02 am #1404879
Prasant RaiModeratorYou are most welcome. 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1400634 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
