什麼在題爲Suosituinta juuri上https://poydalla.net/category/in-english/紐約時報widget的錯UL?在首頁,類別和博客文章看起來不對,但在像https://poydalla.net/lautapelisuositukset/這樣的頁面上看起來很好。從UL在CSS中刪除空格
我試過CSS使用Chrome的檢查工具相比,改變所有這一切是正確的行不正的那些頁面的差異。最重要的是,我搜索了很多東西,嘗試了不同的邊距,填充,線條高度,顯示(內聯,塊,彎曲等)組合。當其他的很好時,頁面被擰緊。
可悲的是'.ARCHIVE li.post {邊距:0}'沒有工作。 PHP的使用下面的代碼 '//在包裹裏的物品送給類。 \t \t \t \t $類=加入( '',get_post_class()); \t \t \t \t \t \t \t \t $輸出= '<李班= 「' $類。 '」>';' 不知道如何解決它,所以我說這一點: '的add_filter( 'post_class','remove_post_function',20); ($ key = array_search('post',$ classes))!== false) \t \t未設置($ classes [$ key]);函數remove_posts_function($ classes){} \t return $ classes; }' (複製自[https://php.quicoto.com/how-to-remove-a-class-from-post_class-wordpress/] – diffler