简体   繁体   中英

Woocommerce move update cart button

I want to move update cart button next to the check out button. Im using NDOxygenVersion: 3.8

            <div class="cart-buttons-hidden">
                <input type="submit" class="button" name="update_cart" value="Update Basket" />
                <input type="submit" class="checkout-button button alt wc-forward" name="proceed" value="Proceed to Checkout" />

Can someone help please site url:www.besthandles.co.uk

Many thanks.

Image of the problem

The problem is that it's taking the same padding as the previous div, so you need to clear any floating element to avoid that, just add this rule and it will be fixed:

.cart-env .cart-main-buttons { 
  clear: both;
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM