我必须更改此 css 文件中的一些行:
/wp-content/plugins/easy-digital-downloads/templates/edd.min.css
table#edd_purchase_receipt td, table#edd_purchase_receipt th, table#edd_purchase_receipt_products td, table#edd_purchase_receipt_products th {
text-align: left; /*must change to: text-align: right; */
}
我在 Style.css 文件中添加了以下代码,但没有任何反应:
body table#edd_purchase_receipt td, table#edd_purchase_receipt th, table#edd_purchase_receipt_products td, table#edd_purchase_receipt_products th {
text-align: left; /*change to text-align: right; */
}
如何覆盖子主题中的“edd.min.css”文件? 实际上,我在覆盖子主题中的 Wordpress 插件的 css 文件时遇到问题。有这方面的规定吗?
最佳答案
您必须确保在 edd.min.css 之后调用 style.css。
关于css - 如何在子主题中覆盖简单的数字下载 css 文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38895712/