效果展示
添加 CSS 样式和 HTML 代码即可如下
![图片[1]-子比主题页脚按钮申请友链、网站地图、免责声明、广告合作等按钮美化教程-墨染云天 - 网络技术的交流与分享 - 资源站,技术站,资讯网](/wp-content/uploads/replace/9257d06ee1ed7482a252af0bef03ce88.png)
教程开始
#1
子比主题设置 >> 页面&显示 >> 底部页脚 >> 板块二,添加以下 HTML 代码:
<!--网站底部按钮美化开始 by 风雪源码 fengxue.cc-->
<div class="huliku-badge">
<span class="badge-subject">申请</span>
<a style="color:#fff" href="https://fengxue.cc/links" target="_blank">
<span class="badge-value bg-red">友情链接</span></a>
</div> |
<div class="huliku-badge">
<span class="badge-subject">站点地图</span>
<a style="color:#fff" href="https://fengxue.cc/sitemap.xml" target="_blank">
<span class="badge-value bg-green">Sitemap</span></a>
</div> |
<div class="huliku-badge">
<span class="badge-subject">用户协议</span>
<a style="color:#fff" href="https://fengxue.cc/yhxy" target="_blank">
<span class="badge-value bg-orange">UserAgreement</span></a>
</div> |
<div class="huliku-badge">
<span class="badge-subject">隐私政策</span>
<a style="color:#fff" target="_blank" href="https://fengxue.cc/yszc">
<span class="badge-value bg-blue">Privacy</span>
</a>
</div>
<!--网站底部按钮美化结束 by 风雪源码 fengxue.cc-->
#2
子比主题设置 >> 自定义代码 >> 自定义 CSS 样式:
/*网站底部按钮美化 www.fengxue.cc*/
.huliku-badge {
display: inline-block;
border-radius: 4px;
text-shadow: none;
font-size: 12px;
color: #fff;
/* line-height: 15px; */
background-color: #abbac3;
margin-bottom: 5px;
}
.huliku-badge .badge-subject {
display: inline-block;
background-color: #f6b044;
padding: 4px 4px 4px 6px;
border-top-left-radius: 4px;
border-bottom-left-radius: 4px;
}
.huliku-badge .bg-red {
background-color: #f55066;
}
.huliku-badge .badge-value {
display: inline-block;
padding: 4px 6px 4px 4px;
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
.huliku-badge .bg-green {
background-color: #e76dcb;
}
.huliku-badge .bg-orange {
background-color: #05b1a4;
}
.huliku-badge .bg-blue {
background-image: -webkit-linear-gradient(0deg, #3ca5f6 0%, #a86af9 100%);
}
/*网站底部按钮美化结束 www.fengxue.cc*/
© 版权声明
THE END
喜欢就支持一下吧
相关推荐
暂无评论内容