新的开始,附这个motion主题的一个bug修复
一直以来想要有一个WordPress博客,搜过不少资料,曾经在yo2和72pines开过,无奈都因为备案问题被封了,最近恰巧看到一篇关于三蛋000hosting的免费主机,就做了这个博客。
调试不少plugin, theme,加上了一直以来希望有的功能,恩,不得不赞叹WordPress的强大。
主题尝试过pixel,最后还是选择了这个暗调的motion,总体很好看,无奈边栏的超链接有个bug——会独占一行,打算联系作者Sam @ 85ideas的,可是进了主页发现貌似对自己免费的作品技术支持工作不是特别友好,无奈从未看过css的我,开始这个主题的模板,看了合计不下四个小时,终于找到了。
在style.css里面
/************************************************
* Sidebar *
************************************************/
#sidebar {float:right; width:300px; font-size:0.8em; line-height:1.4em; margin-bottom:30px;}
#sidebar ul li.boxed {background:url(images/blacktrans.png); padding:10px; margin-bottom:15px;}
#sidebar h3 {background:url(images/blacktrans.png); padding:5px 10px; line-height:1.3em; font-weight:normal; font-size:1.4em; margin-bottom:10px;}
#sidebar ul ul li {padding-bottom:8px;}
/*Here is the bug place!!!!*/
/*#sidebar ul ul li a {display:block; padding:3px 5px;}*/
#sidebar ul ul li a:hover {background:url(images/blacktrans.png);}
#sidebar p {color:#eee; padding:0 5px 10px 5px;}
#sidebar p a {border-bottom:1px dashed #a8ef9d;}
#sidebar p a:hover {background:url(images/blacktrans.png);}
#sidebar img {border:none; padding:0 5px;}
#sidebar img.avatar {float:left; padding:0 15px 5px 5px;}
#tag_cloud a, .widget_tag_cloud a {display:inline;}
#tag_cloud a:hover {color:#fff;}
li#tagbox a:hover {color:#fff;}
#sidebars ul.children li {border-bottom:none;}
#sidebars ul.children {margin-bottom:0;}
把bug处的那句话注释掉就可以了,这样就关闭了这个模板关于超链接的box样式,HOHO~
代码高亮这个插件依然有bug在,每个字符有发虚的感觉,个人感觉和blacktrans.png这个背景文件有关~有机会下次fix吧
Update! 对于WP thread comment样式表的修改!
评论框一开始不是透明的,用的颜色,使用eyedropper取色得到#e2e2e2一直没有在主题的style.css检索到这个颜色,在plugin的目录也没找到css,最后竟然在plugin的配置页找到~贴出修改后的css表
.editComment, .editableComment, .textComment{
display: inline;
}
.comment-childs{
border: 1px solid #999;
margin: 5px 2px 2px 4px;
padding: 4px 2px 2px 4px;
/*background-color: white;*/
background:url(http://logicmd.net/wp-content/uploads/backgroud/whitetrans.png);
}
.chalt{
/*background-color: #E2E2E2;*/
background:url(http://logicmd.net/wp-content/uploads/backgroud/blacktrans.png);
}
#newcomment{
border:1px dashed #777;width:90%;
}
#newcommentsubmit{
color:red;
}
.adminreplycomment{
border:1px dashed #777;
width:99%;
margin:4px;
padding:4px;
}
.mvccls{
color: #999;
}





来看看你的这个插件了啦~然后下面的表情怎么弄的啊?