2015-07-21 29 views
0

我使用Wordpress創建了一個網站作爲CMS,並且我安裝了「美食和飲料」插件,並且當我通過該插件插入內容時,它會創建一個食物清單(我在做菜單)。現在,當我通過檢查元素(chrome)將其刪除時,我的列表上會顯示公告樣式。這裏是我的代碼:即使在CSS中設置爲無,我也無法刪除我的列表公告樣式

.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; 
 
}

+1

顯示,適用於,還有的HTML。 CSS本身幾乎沒用。 –

回答

1

當你在base.css中將列表樣式設置爲none,您可以在style.css中覆蓋它。

.entry-content ul > li { 
    list-style-type: disc; 
} 

從style.css中刪除它

+0

謝謝,解決了我的問題:D – Usce

0

你有它這裏列出的光盤,以便將其更改爲無:

.entry-content ul > li { list-style-type: none; } 
+0

謝謝,解決了我的問題:D – Usce

0

嘗試使用list-style-type代替list-style

+0

謝謝,解決了我的問題:D – Usce

相關問題