简体   繁体   English

Woocommerce移动更新购物车按钮

[英]Woocommerce move update cart button

I want to move update cart button next to the check out button. 我想将“更新购物车”按钮移到“签出”按钮旁边。 Im using NDOxygenVersion: 3.8 我正在使用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 有人可以帮忙吗,请访问以下网址: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: 问题在于,它采用与上一个div相同的填充,因此您需要清除任何浮动元素来避免这种情况,只需添加此规则即可将其固定:

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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