在 CSS 中更改购物车页面中的含税价格颜色
Change the color of tax price in the cart page in CSS
我想在我的 woocommerce 中更改购物车和结帐中增值税成本的颜色和大小。我只想更改增值税的外观,而不是总额。
我正在使用 css:
.woocommerce-page .cart-collaterals .cart_totals table th:last-child {
colour:#000000;
}
但是不行。
有什么想法吗?
首先你需要使用 color
而不是 colour
.
你应该试试这个 css:
.woocommerce-page #content .cart-collaterals .cart_totals>table tr.total .includes_tax .amount {
font-size: 18px !important;
color: #000 !important;
}
这应该有效。
我想在我的 woocommerce 中更改购物车和结帐中增值税成本的颜色和大小。我只想更改增值税的外观,而不是总额。
我正在使用 css:
.woocommerce-page .cart-collaterals .cart_totals table th:last-child {
colour:#000000;
}
但是不行。
有什么想法吗?
首先你需要使用 color
而不是 colour
.
你应该试试这个 css:
.woocommerce-page #content .cart-collaterals .cart_totals>table tr.total .includes_tax .amount {
font-size: 18px !important;
color: #000 !important;
}
这应该有效。