我无法自定义显示在购物车和网站结帐页面中的表格的背景。我正在使用Woocommerce,Elementor和基本elementor主题Hello。
我位于CSS文件夹中,我已经能够更改一行的颜色,但是很奇怪,它像是一种颜色插层,一个是浅灰色,另一个是白色。
如何更改购物车和结帐中包含行的所有产品?
在这里您可以看到我在说什么,您必须在购物车中添加至少两种产品...
答案 0 :(得分:0)
在这里,尝试将此代码添加到主题的自定义CSS
Type 'string | string[]' is not assignable to type 'string'.
将颜色从蓝色更改为您需要的任何颜色。
答案 1 :(得分:0)
将以下代码末尾置于style.css
对于“查看购物车”
.elementor-51 .elementor-element.elementor-element-5b22abc4 .elementor-button--view-cart {
background-color: #9fa0a0 !important;
}
购买完成
.elementor-51 .elementor-element.elementor-element-5b22abc4 .elementor-button--checkout {
background-color: #fff !important;
}
保存 然后使用fontend中的ctrl + f5按钮刷新硬刷新