修改前:
![图片[1]-Begin破解版主题美化-关于本站头像居中-踩坑日记](https://1aii.cn/wp-content/uploads/2025/06/JZ011.png)
修改后:
![图片[2]-Begin破解版主题美化-关于本站头像居中-踩坑日记](https://1aii.cn/wp-content/uploads/2025/06/JZ021.png)
修改方法:
外观-主题选项-定制风格-自定义样式 填入如下代码后保存设置:
/** 修改关于本站css**/
.about-img {
text-align: center;
background: url(https://wx2.sinaimg.cn/large/0066LGKLly1fjvq3dc19uj309q02sa9y.jpg) center center no-repeat;
background-size: cover;
height: 120px;
border-radius:8px;
margin: -10px -15px 30px;
}
.about-img img {
float: none;
border: 1px solid #ddd;
border-radius: 50%;
padding: 0px;
height: auto;
text-align: center;
width: 120px;
margin: 30px 0 0 0;
}
.about-name {
text-align: center;
font-size: 16px;
position: relative;
display: block;
}
.about-name {
font-size: 16px;
font-weight: 700;
}
本方法适用于破解版,正式版自带样式,无需修改。
如果是国外鸡,会出现头像背景图片加载不出来的情况。解决办法是将图片下载后传到WordPress的媒体库中提取链接后替换。
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容