Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #247958

    Hi :-)

    I have some bugs in the woocommerce checkout page. I don’t know what I should edit in the CSS :-/
    I tried to draw what I mean ;-)
    Thanks for help!

    1.)

    2.)

    3.)

    #248639

    Hi Fabrice!

    1) You can push the “Passwort vergessen” Link down with this css code:

    
    .lost_password{ clear: both; }
    

    However you can’t easily change the “Daten merken” checkbox Position. This would require a template structure change (default WooCommerce checkout template) and is not theme css/code related – thus I can’t provide a code to change the position.

    2) This should already be fixed with the latest update. If you still experience the issue though please insert this code:

    
    .form-row.form-row-wide {
        clear: both;
    }
    

    into the quick css field.

    3) This change also requires a php template modification. Add this code into the theme functions.php file:

    
    
            add_filter( 'woocommerce_checkout_show_terms','avia_remove_default_tos');
            add_action( 'woocommerce_review_order_before_submit','avia_add_tos_checkbox');
         function avia_remove_default_tos()
        {
            return false;
        }
    
         function avia_add_tos_checkbox()
        {
            ?>
    
            <p class="form-row terms">
                <label for="terms" class="checkbox"><?php _e( 'I have read and accept the', 'woocommerce' ); ?> <a href="<?php echo esc_url( get_permalink(woocommerce_get_page_id('terms')) ); ?>" target="_blank"><?php _e( 'terms & conditions', 'woocommerce' ); ?></a></label>
                <input type="checkbox" class="input-checkbox" name="terms" <?php checked( isset( $_POST['terms'] ), true ); ?> id="terms" />
            </p>
    
        <?php
        }
    

    Cheers!
    Peter

    #248794

    Hey Peter!

    Works great, thanks.

    2.) didn’t work. For me this code works:

    #billing_email_field{
        clear: both !important; 
    }

    I have one additional question:
    How can I remove the product image? I could remove it on the product details but not in the mini-cart (on the right side) and in the big cart list… have you an idea?

    Thanks!

    Cheers!
    Fabrice

    #250308

    Hi!

    Please add following code to Quick CSS as well

    .dropdown_widget ul.cart_list li a img, .product-thumbnail { display: none; }

    Cheers!
    Yigit

    #250572

    Works great Yigit!

    Thanks for your help!

    Cheers!
    Fabrice

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Woocommerce Checkout Layout Bugs’ is closed to new replies.