我正在创建一个网站,作为CMS的Wordpress,我安装了“食物和饮料”插件,当我把我的内容通过那个插件,它创建了食物列表(我正在做菜单)。现在我得到公告样式在我的名单上,当我删除它通过检查元素(铬),什么都没有发生。这是我的代码:
.fdm-menu.clearfix, .fdm-menu .clearfix {
clear: both;
}
.entry-content ol, .entry-content ul {
margin-left: 40px;
}
.entry-content ol, .entry-content p, .entry-content ul, .quote-caption {
margin-bottom: 26px;
}
.fdm-menu, .fdm-menu>li, .fdm-section, .fdm-section>li {
list-style: none;
}
发布于 2015-07-22 01:27:26
虽然在base.css中将列表样式设置为none,但在覆盖它的style.css中有此设置。
.entry-content ul > li {
list-style-type: disc;
}从style.css中删除它
发布于 2015-07-21 20:29:08
您在这里将其作为光盘列出,因此将其更改为“无”:
.entry-content ul > li { list-style-type: none; }发布于 2015-07-21 22:05:27
尝试使用list-style-type而不是list-style
https://stackoverflow.com/questions/31548874
复制相似问题