如何修复购物车表格内容

时间:2019-08-15 05:56:16

标签: css wordpress woocommerce hook-woocommerce

WordPress 5.1.1 WooCommerce 3.6.1 woocommerce-cart-form-contents布局问题

全局删除产品图像和缩略图会导致购物车表单布局问题(woocommerce-cart-form_contents)。使用一页结帐和购物车。另外,在问题最明显的目标网页上使用完整的购物车。

购物车页面上缩略图的左列仍然存在。

www.flamebroilercatering.com

我尝试了以下操作:

````margin-left: 0 !important;
````}

Removed <td class="product-thumbnail"> from cart.php but left most column persists. 

Removed <th class="product-thumbnail"> from cart.php but left most column persists.

Modified table from 6 columns to 5 but left column for thumbnail persists and rest of columns squashed. 

5. Added align="left" to table with no effect


````.cart .woocommerce-cart-form {
````margin-left: 0 !important;
````}

After removing thumbnail with remove_action expected cart form content to shift left.

0 个答案:

没有答案