Wordpress主题B2PRO 修改记录

skill+
306 0

修改网站背景图为全屏

复制以下代码放进wp-content/themes/b2/Assets/fontend/style.css里面的.site的类里

.site{background-size: cover;}

更换了阿里iconfont

修改评论框提示

/b2/comments.php ~131

CSS

添加进style.css
首页文章区标题下红线

/*首页文章区标题下红线*/
.post-list .module-title {
    position: relative;
    display: inline-block;
}
.module-title::after{
    bottom: 5%;
    content: '';
    position: absolute;
    width: 100%;
    height: 30%;
    background: #fc5e83a1;
    border-radius: 5px;
    left: 0;
}
.post-list .module-title {
    font-weight: 100;
} 
最后更新 2021-11-01
评论 ( 0 )
OωO
隐私评论