Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1400634
    marcooos
    Participant

    Hey, how do I style these payment options (and the “place order” button) so that they are aligned horizontally instead of being all bunched up?

    #1400637
    marcooos
    Participant
    This reply has been marked as private.
    #1400732
    Rupok
    Member

    Hi 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!

    #1401717
    marcooos
    Participant

    Hey, thanks but I don’t think I explained it properly, this is what I want:

    #1401882
    Paul R
    Moderator

    Hi,

    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.

    #1404066
    marcooos
    Participant

    Awesome thanks Paul!

    Can you also tell me how to change the alignment of the checkbox and payment description?:

    #1404346
    Rupok
    Member

    Hi there,

    Would you explain how do you want to align them?

    Thanks!

    #1404556
    marcooos
    Participant

    Can you see the image I attached? 🙂

    #1404605
    Paul R
    Moderator

    Hi,

    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.

    #1404742
    marcooos
    Participant

    Hi Paul, I’ve added the code but it doesn’t seem to have done anything at all

    #1404862
    Paul R
    Moderator

    Hi,

    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.

    #1404868
    marcooos
    Participant

    Looks great, thanks Paul!

    #1404879
    Prasant Rai
    Moderator

    You are most welcome. 🙂

  • <script> jQuery(function($){ $("#no-reply-1400634 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>