简体   繁体   English

如何从 Woocommerce 产品小部件中删除项目符号

[英]How to remove bullet points from Woocommerce products widget

has anyone had the same issue with me?有人和我有同样的问题吗? I am adding the recently viewed products widget via the woocommerce plugin but bullet points appear next to the product title.我正在通过woocommerce插件添加最近查看的产品小部件,但产品标题旁边会出现项目符号 I have tried to add several codes in my custom css but i have not found the solution.我试图在我的自定义 css 中添加几个代码,但我还没有找到解决方案。 Can anyone help me?谁能帮我?

图片

ok i added this css code to leave some space between the bullet point and the product title since i haven't found a solution to remove the bullet points completely.好的,我添加了此 css 代码以在项目符号和产品标题之间留出一些空间,因为我还没有找到完全删除项目符号的解决方案。

.product-title{
padding-left:10px !important;

}

Try this.尝试这个。 Add the following to your custom CSS将以下内容添加到您的自定义 CSS

.woocommerce #content div.product ul li.description_tab {
    display: none !important;
}
.woocommerce ul.products {
    list-style: none;
}

The following worked for me:以下对我有用:

.content ul {
list-style: disc;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM