什么在题为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