Loper主题修复管理员评论头像,Loper主题默认管理员评论头像偏小,Loper主题其他评论头像规格正常,拽立网,Loper主题作者故意设置管理员头像偏小容易认出来,我个人感觉这么小的头像不好看,偏小头像图片都看不清楚,所以决定修复管理员偏小头像问题,今天我把Loper主题修复管理员评论头像方法分享给大家,请看以下操作!
修复前的效果图!
1.登陆你的后台管理,选择【外观】-【编辑】-【 样式表 (style.css)】
直接搜索这个全部代码:
#comments ol li ul.children li .gravatar img{ margin:0px; width:16px; height:16px; border: none; background:url(images/someone.png) no-repeat;}
上面全部代码替换为以下全部代码:
#comments ol li ul.children li .gravatar{ float:left; background:url(images/gavart.jpg) no-repeat; width:42px; height:42px;}
2.然后继续搜索这个全部代码:
.gravatar{ float:left; background:url(images/gavart.jpg) no-repeat; width:42px; height:44px; margin:10px 10px 0px 10px;_ margin:10px 5px 0px 5px}
上面代码替换为下面全部代码:
.gravatar{ float:left; background:url(images/gavart.jpg) no-repeat; width:42px; height:42px; margin:10px 10px 0px 10px;_ margin:10px 5px 0px 5px}
修复后的效果图!
提示:Loper主题头像有多余代码,你们也可以删除多余代码,我感觉还是保留原本代码好,尽量少修改代码免的出错!
提示:Loper主题默认头像是【width:42px;?height:42px;】

版权声明:本站原创文章,于2015年09月16日,由 拽立网 发表,共 881 字。
打赏



很牛逼的主题,很牛的站长,长期关注着..
呵呵哒!喜欢就好下次再来聊天!!!!
管理员回复