如何在Weebly中更改ul - list-style-image



我在Weebly上创建页面时遇到了一个问题。所以当我像这样修改ul标签时:

#top-home-wrap #main #content ul {
color: yellow;
list-style-image: url('fa-check.png') !important;
}

它不能工作,因为它使用了一些默认的主题样式。如何解决这个问题?

我认为您的默认样式应用于li而不是ul。所以试试这个:

#top-home-wrap #main #content ul li{
   color: yellow;
   list-style-image: url('fa-check.png') !important;
}

最新更新