如何从 WooCommerce 购物车页面的运费中删除粗体字体?我不想用粗体文本引起人们对运费的过多关注,因此我希望在那里有常规的字体粗细。
更新: 添加下面的 html 代码来回答评论部分的问题
<tr class="woocommerce-shipping-totals shipping">
<th>Delivery</th>
<td data-title="Delivery">
<ul id="ship_method" class="woocommerce-ship-type">
<li>
class="ship_method"/><label for="ship_method"> <span class="woocommerce_totals totals"><span class="woocommerce_curr_sym">$</span>300.00</span></label> </li>
</ul>
</td>
最佳答案
只需检查运费值并获取运费值的类别即可。例如,类名称为:.shipping_fee。因此,只需将以下 css 放入您的附加 CSS 或自定义 CSS 文件中即可。
.shipping_fee {
font-weight: normal !important;
}
关于html - 更改 WooCommerce 购物车页面中的运输方式费率值字体粗细,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55290121/