一、将以下代码复制到ripro-v2/ accets/app.css底部
.badge-pill{
/*background-color: rgba(0,0,0,0.4);*/
font-style: normal;
/*color: #fff;*/
/*font-size: 5px;*/
/*height: 25px;*/
right: 0px;
/*line-height: 25px;*/
position: absolute;
/*text-align: center;*/
top: 0px;
/*width: 50px;*/
}
.demo{
background-color: rgba(0,0,0,0.4);
color: #fff;
font-size: 5px;
height: 25px;
right: 0px;
line-height: 25px;
position: absolute;
text-align: center;
top: 0px;
width: 50px;
}
二、将以下代码复制到ripro-v2/functions.php文件底部
隐藏内容
此处内容需要权限查看
会员免费查看三、将以下代码覆盖ripro-v2/inc/template-tags.php中686行处图中所示位置
隐藏内容
此处内容需要权限查看
会员免费查看使用说明:
需要角标需要则复制class="badge badge-pill badge-primary" “”内的内容或输入demo,不需要则不输入
主题授权提示:请在后台主题设置-主题授权-激活主题的正版授权,授权购买:RiTheme官网